02.02.2009, 14:14
Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate == PLAYER_STATE_DRIVER) { format(string, sizeof(string), "Vehicle ID: %d", GetPlayerVehicleID(playerid)); SendClientMessage(playerid, color, string); return 1; } return 1; }