11.05.2011, 00:25
Hello!
I'm trying to do a simple /paint cmd, and I get nothing...
there is the code:
Thank you for you'r help!
P.S
No errors, and the a_vhicles.inc included.
I'm trying to do a simple /paint cmd, and I get nothing...
there is the code:
Код:
if(strcmp(cmd, "/paint", true) == 0){ if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_RED, "You need to be in a vehicle!"); ChangeVehiclePaintjob(GetPlayerVehicleID(playerid), 0); return 1; }
P.S
No errors, and the a_vhicles.inc included.