18.12.2010, 18:12
Maybe this, then?
pawn Код:
new veh = GetVehicleModel(GetPlayerVehicleID(playerid));
if(veh == 520)
{
SendClientMessage(playerid, 0xFFFFFF, "You need 20.000$ to enter in the Hydra.");
if (GetPlayerMoney(playerid) < 20000) return RemovePlayerFromVehicle(playerid);
else if(GetPlayerMoney(playerid) > 20000) GivePlayerMoney(playerid,-20000) && SendClientMessage(playerid, 0xFFFFFF, "Enjoy your Hydra.");
}