- 0
Problema PNS/ModShop BigZone
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
ciockikostner
Salut prieteni, am un gamemode edit bigzone insa am o mica problema, cand repar masina in pns sau intru sa tunez masina in tunning pur si simplu nu imi baga banii in biz, aveti o idee?
public AfterSpray(playerid) { new carid = GetPlayerVehicleID(playerid), Float:health, string[MAX_STRING]; 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; } if(IsPlayerInRangeOfPoint(playerid,15.0,487.4134,-1740.1738,11.1370)) { GetVehicleHealth(carid, health); if(health == 1000.0) { Cash[playerid] -= BizzInfo[37][bEntranceCost]; Update(playerid, pCashx); BizzInfo[37][bTill] += BizzInfo[37][bEntranceCost]; new str[128]; mysql_format(SQL,str,sizeof(str),"UPDATE `bizz` SET `Till`='%d' WHERE `ID`='37'",BizzInfo[37][bTill]); mysql_tquery(SQL,str,"",""); format(string,sizeof(string),"~r~-%d$", BizzInfo[37][bEntranceCost]); GameTextForPlayer(playerid, string, 5000, 1); return 1; } }Multumesc anticipat!
9 answers to this question
Recommended Posts