15.01.2013, 14:08
Код:
public OnPlayerUpdate(playerid) { new name[MAX_PLAYER_NAME+1], string[24+MAX_PLAYER_NAME+1]; GetPlayerName(playerid, name, sizeof(name)); if(GetPlayerSpeed(playerid) > 270) TogglePlayerControllable(playerid,0); format(string, sizeof(string), "%s Vaћiavo didesniu nei 270 km/h greičiu. /stebeti %s", name); if(PlayerInfo[playerid][pAdmin] == 1) SendClientMessage(playerid, -1, string); return 1; }
format(string, sizeof(string), "%s Vaћiavo didesniu nei 270 km/h greičiu. /stebeti %s", name);
When i not going 270 km/h speed.