02.06.2012, 06:23
Try this
Use OnPlayerStateChange
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(oldstate == PLAYER_STATE_DRIVER && newstate == PLAYER_STATE_ONFOOT)
{
new pName[24];
new string[128];
GetPlayerName(playerid, pName, 24);
format(string, 128, "* %s has left the vehicle.", pName);
SendClientMessage(playerid, 0xFFFFFFFF, string);
return 1;
}
return 1;
}