AnDrEyUpS Posted February 9, 2021 Report Share Posted February 9, 2021 Salutare draga comunitate! Am si eu o problema la comanda [/bonus] si aceea este ca atunci cand dau /bonus merge sa o folosesc iar si iar, chiar daca am pus o verificare pe level 1. Am incercat si cu else poate fac ceva, dar nimic. Comanda: https://pastebin.com/uMHRhRFL Ma poate ajuta cineva? Cred ca este o problema banala pentru cei care sunt avansati in acest domeniu. Quote Link to comment Share on other sites More sharing options...
CosminAK47 Posted February 9, 2021 Report Share Posted February 9, 2021 Acum 2 ore, AnDrEyUpS a spus: Salutare draga comunitate! Am si eu o problema la comanda [/bonus] si aceea este ca atunci cand dau /bonus merge sa o folosesc iar si iar, chiar daca am pus o verificare pe level 1. Am incercat si cu else poate fac ceva, dar nimic. Comanda: https://pastebin.com/uMHRhRFL Ma poate ajuta cineva? Cred ca este o problema banala pentru cei care sunt avansati in acest domeniu. Citat CMD:bonus(playerid, params[]) { if(pInfo[playerid][pScore] != 1) return SCM(playerid, COLOR_INFO, "Ai primit deja bonusul de bun venit.");//dor cei cu lvl 1 pot folosi comanda if(!IsPlayerInRangeOfPoint(playerid, 7.0, 1790.9091, -1882.7960, 13.5977)) return SCM(playerid, COLOR_INFO, "Nu esti la locul potrivit."); GiveMoney(playerid, 4800000); pInfo[playerid][pScore] += 2, SetPlayerScore(playerid, pInfo[playerid][pScore]); SCM(playerid, COLOR_INFO, "Ai primit 4.800.000$ si level 3."); return 1; } Quote YouTube : Click Discord : CosminAK47#8524 Link to comment Share on other sites More sharing options...
AnDrEyUpS Posted February 9, 2021 Author Report Share Posted February 9, 2021 1 oră în urmă, CosminAK47 a spus: Multumesc frumos! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.