09.04.2011, 17:24
pawn Код:
if(strcmp(cmd, "/exit", true) == 0)
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFF0080FF, "You need to be in a vehicle.");
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, 0xFF0080FF, "You have been removed from vehicle.");
TogglePlayerControllable(playerid, true);// <<<
return 1;
}