Paying for car in car system issue
#2

Try adding a new variable(like this):
pawn Код:
case 1:
{
new vehiclemoney;
vehiclemoney = DealershipVehicles[GetPlayerVehicleID(playerid)][vPrice];
GivePlayerMoney(playerid, -vehiclemoney);
format(string, sizeof(string), "You have purchased a %s for $%d, for more help regarding your purchase, type /carhelp.", GetVehicleName(GetPlayerVehicleID(playerid)), DealershipVehicles[GetPlayerVehicleID(playerid)][vPrice]);
SendClientMessage(playerid, YELLOW, string);
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
return 1;
}
Reply


Messages In This Thread
Paying for car in car system issue - by ethman326 - 28.03.2013, 23:08
Re: Paying for car in car system issue - by JJB562 - 28.03.2013, 23:50
Re: Paying for car in car system issue - by Joshman543 - 28.03.2013, 23:51
Re: Paying for car in car system issue - by zxc1 - 28.03.2013, 23:52
Re: Paying for car in car system issue - by ethman326 - 29.03.2013, 00:54
Re: Paying for car in car system issue - by ethman326 - 29.03.2013, 05:34
Re: Paying for car in car system issue - by ethman326 - 29.03.2013, 16:44

Forum Jump:


Users browsing this thread: 1 Guest(s)