10.08.2011, 02:05
Hey all...i need a code from which , if a player goes above the speed of 120 km/h ....he gets a fine..i dont need a radar but only a code..i just made a simple one ..can u all plzz correct it...
or if there is any way for a radar please help me..
Код:
new kmh = GetPlayerSpeed(targetid, true); if(kmh >= 120(playerid) == 1) { GetPlayerMoney(playerid) > 10) SafeGivePlayerMoney(playerid, -10000); SendClientMessage(playerid, COLOR_RED,"*** FINE: 10000$ has been reduced from your account because of exceeding the speed limit 120 km/h ***");