10.01.2015, 20:09
You had a missing } for the if statement
Код:
CMD:nitro(playerid,params[]) { if(PlayerInfo[playerid][pAdmin] <= 1 && PlayerInfo[playerid][pAdmin] >= 8) { if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_LIGHTYELLOW,"You must be in a vehicle!"); AddVehicleComponent(GetPlayerVehicleID(playerid),1010); SendClientMessage(playerid,COLOR_LIGHTYELLOW,"Nitro added!"); //No idea what colour that is though. } // this was missing return 1; }