18.12.2010, 16:10
Quote:
Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { new vehicle; vehicle = GetPlayerVehicleID(playerid); new money: money = GetPlayerMoney(playerid); if(newstate == PLAYER_STATE_DRIVER && vehicle == 520) { if(money < 20000) { RemovePlayerFromVehicle(playerid); } } return 1; } |