22.02.2012, 11:18
why and how are you using zcmd and strcmp together?
i think the space is giving the errors.
pawn Код:
("/v Boxville2"
pawn Код:
COMMAND:yes(playerid, params[])
{
new playerstate = GetPlayerState(playerid);
if(playerstate == PLAYER_STATE_DRIVER) return ModCar(playerid);
else return SendClientMessage(playerid, COLOR_RED, "[EROARE] Nu poti tuna masina daca nu esti sofer.");
}
pawn Код:
COMMAND:tunar(playerid, params[])
{
new playerstate = GetPlayerState(playerid);
if(playerstate == PLAYER_STATE_DRIVER) return ModCar(playerid);
else return SendClientMessage(playerid, COLOR_RED, "[EROARE] Nu poti tuna masina daca nu esti sofer.");
}