24.08.2013, 17:48
PHP код:
public OnPlayerStateChange( playerid, newstate, oldstate )
{
if( newstate == PLAYER_STATE_DRIVER )
{
SendClientMessage(playerid, color, "You are the driver of this vehicle!");
}
return 1;
}