20.04.2010, 16:33
pawn Код:
if(GetPlayerMoney(playerid) < 40000) return SendClientMessage(playerid,COLOR_RED,"--> You don't have $40000!") && SetPlayerPos(playerid,-1979.8074,270.1521,35.1719) && TogglePlayerControllable(playerid,1);
new car;
GivePlayerMoney(playerid,-40000);
car=CreateVehicle(402,-1979.8074,270.1521,35.1719,0,0,0,0);
PutPlayerInVehicle(playerid, car, 0);
PlayerPlaySound(playerid,1058,0,0,0);
TogglePlayerControllable(playerid,1);
return SendClientMessage(playerid, COLOR_YELLOW, "--> You bought a Buffalo!");