24.08.2016, 09:36
I have a problem with my PNS system.
Afeter you enter in PNS it should take your money and put in bizz balance but it don't do this. It only repairs your car.
Afeter you enter in PNS it should take your money and put in bizz balance but it don't do this. It only repairs your car.
Код HTML:
if(IsPlayerInRangeOfPoint(playerid,15.0,1025.0671,-1023.7895,32.1016)) { GetVehicleHealth(carid, health); if(health == 1000.0) { Cash[playerid] -= BizzInfo[36][bEntranceCost]; Update(playerid, pCashx); BizzInfo[36][bTill] += BizzInfo[36][bEntranceCost]; new str[128]; mysql_format(SQL,str,sizeof(str),"UPDATE `bizz` SET `Till`='%d' WHERE `ID`='36'",BizzInfo[36][bTill]); mysql_tquery(SQL,str,"",""); format(string,sizeof(string),"~r~-%d$", BizzInfo[36][bEntranceCost]); GameTextForPlayer(playerid, string, 5000, 1); return 1; } }