28.01.2015, 03:27
if(GetPlayerMoney(playerid) < 4500) return SendClientMessage(playerid, COLOR_RED," SERVER : You don't have so much money!");
new Float:X, Float:Y, Float:Z, Float:A;
GetPlayerPos(playerid, X,Y,Z);
GetPlayerFacingAngle(playerid, A);
veh = AddStaticVehicle(499, X, Y, Z, A, 1, 1);
PutPlayerInVehicle(playerid,veh,0);
GivePlayerMoney(playerid,-4500);
SendClientMessage(playerid,COLOR_ROYALBLUE,"CAR SHOP : You have bought a Benson Cost: "COL_WHITE" $4,500");
Use that and told me how is going
new Float:X, Float:Y, Float:Z, Float:A;
GetPlayerPos(playerid, X,Y,Z);
GetPlayerFacingAngle(playerid, A);
veh = AddStaticVehicle(499, X, Y, Z, A, 1, 1);
PutPlayerInVehicle(playerid,veh,0);
GivePlayerMoney(playerid,-4500);
SendClientMessage(playerid,COLOR_ROYALBLUE,"CAR SHOP : You have bought a Benson Cost: "COL_WHITE" $4,500");
Use that and told me how is going