05.04.2012, 09:03
I'm trying to add a command to my script that allows me to spawn vehicles on the server, but it's not working to well.
This is what happens when try to compile it.
Код:
{ if(strcmp(cmd, "/getcar 402", true) == 0) CreateVehicle(402, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 60); return 1; }
Код:
C:\Users\Jonesy\Desktop\SA-MP scripting\gamemodes\bare.pwn(305) : error 017: undefined symbol "cmd" C:\Users\Jonesy\Desktop\SA-MP scripting\gamemodes\bare.pwn(310) : warning 225: unreachable code Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.