- 0
/buycar pentru playeri si vip
-
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
MAXYMUSS
Problema intalnita (descriere):Atunci cand un player (fara vip) foloseste /buycar poate cumpara 3 masini , eu doresc atunci cand playeru are vip sa mai poata cumpara inca 2 (if(PlayerData[playerid][pPcarkey4] != 999 && PlayerData[playerid][pPcarkey5] != 999)
am incercat sa fac eu ceva cu if(PlayerData[playerid][pDonateRank] < 1) dar nu am reusit
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul(obligatoriu):
if(strcmp(cmd, "/buycar", true) == 0) { if(PlayerData[playerid][pLevel] < 3) { SendClientMessage(playerid,COLOR_WHITE," Iti trebuie level `3` pentru a-ti cumpara un vehicul personal !"); return 1; } if(PlayerData[playerid][pPcarkey] != 999 && PlayerData[playerid][pPcarkey2] != 999 && PlayerData[playerid][pPcarkey3] != 999) return SendClientMessage(playerid, COLOR_GREY, "Doar VIP pot cumpara mai mult de 3 masini."); if(IsPlayerInRangeOfPoint(playerid, 5.0, 328.9902,-1513.3729,36.0391)) { ShowPlayerDialog(playerid, 140, DIALOG_STYLE_LIST, "Masini personale:", "Masini NormalenMasini Rapide (Sport)nMotociclete/ScuterenBarci/Elicoptere", "Alege", "Anulare"); } else { SendClientMessage(playerid,COLOR_WHITE,"Nu te aflii la Dealership !"); } return 1; }Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: Da
3 answers to this question
Recommended Posts