- 0
Problema PNS/ModShop BigZone
-
Similar Content
-
- 3 replies
- 314 views
-
- 27 replies
- 25,214 views
-
- 7 replies
- 1,182 views
-
- 2 answers
- 547 views
-
Problema turf
By Soryn.,
- 3 answers
- 382 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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!
Link to comment
Share on other sites
9 answers to this question
Recommended Posts