View Full Version : Pawno compiling error.(AddStaticVehicle)

18/06/2009, 08:00 PM
I get a error when i try to compile this:


My error is this: error 021: symbol already defined: "AddStaticVehicle"

18/06/2009, 08:01 PM
You can't add that to a script on it's own. You need #include <a_samp> and OnGameModeInit at least...

18/06/2009, 08:06 PM
I got that. I placed the addstaticvehicle at line 17808 or something.

18/06/2009, 08:50 PM
I placed the addstaticvehicle at line 17808 or something.

We dont need the Lines :D just put your Addstaticvehicle Something at OnGamemodeInit (b.t.w CreateVehicle(ID, X, Y, Z, COL1, COL2, RESPAWNTIME); is the better way).

18/06/2009, 08:56 PM
lol thanks for the help guys you helped me the right way. Reason were: I placed the AddStaticVehicle codes at the end of the script. But i didn't know that it had to be in somewhere at: Ingamemodeinit start and ingamemodeinit exit. So i did place it there after found out and it work'd! Thanks!

18/06/2009, 09:03 PM
No Problem ;) The Forum is there to help people :D

31/08/2011, 09:00 PM
i placed beetwen em but iget an error :(