28.05.2009, 14:03
Quote:
Originally Posted by Jakku
pawn Код:
|
Do you even know the player has defined cmd?
pawn Код:
if(!strcmp(cmdtext,"/exit",true)){
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFFFFFFAA, "You aren't in a vehicle!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, true); // if frozen
return SendClientMessage(playerid, 0xFFFFFFAA, "Your Text");
}