12.09.2012, 16:55
pawn Код:
if(GetPlayerState(playerid) == !PLAYER_STATE_DRIVER))
How do I fix this?
To do, If player is not in a vehicle, Sendclientmessage, You are not in a vehicle!!
if(GetPlayerState(playerid) == !PLAYER_STATE_DRIVER))
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER))
{
SendClientMessage(playerid, -1, "ERROR: You are not in a vehicle!");
return 1;
}
if(!IsPlayerInAnyVehicle(playerid))