TheGodfather Posted August 4, 2020 Report Share Posted August 4, 2020 Salut, primesc urmatoarea eroare pentru comanda /rpforall. ==================================================================== Error ID: 1065, Eroare: Query was empty Callback: gQuery: ==================================================================== YCMD:rpforall(playerid, params[], help) { new szMessage[180], rp; if(sscanf(params, "i", rp)) return SCM(playerid, COLOR_GREY, "Syntax: {FFFFFF}/rpforall <amount>"); if(PlayerInfo[playerid][pAdmin] < 6) return SCM(playerid, COLOR_GREY, "Nu esti autorizat sa folosesti aceasta comanda!"); foreach(Player, i) { if(IsPlayerConnected(i) && IsPlayerLogged == 1) { PlayerInfo[pExp] += rp; Update(i, pExp); format(szMessage, sizeof(szMessage), "* Administratorul {F03636}%s{FFFFFF} ti-a dat %d RP-uri ca bonus!",GetName(playerid), rp); SCM(i,COLOR_WHITE,szMessage); UpdateProgress(i); } } return true; } Quote Link to comment Share on other sites More sharing options...
0 TheGodfather Posted August 4, 2020 Author Report Share Posted August 4, 2020 up Quote Link to comment Share on other sites More sharing options...
0 VLM Posted August 4, 2020 Report Share Posted August 4, 2020 (edited) Cauta-ma pe discord VLM#7273 ca sa nu facem spam aici Edited August 4, 2020 by VLM Quote FONDATOR COMUNITATEA VL https://discord.gg/comvl Link to comment Share on other sites More sharing options...
0 TheGodfather Posted August 4, 2020 Author Report Share Posted August 4, 2020 Ti-am dat cerere Quote Link to comment Share on other sites More sharing options...
0 TheGodfather Posted August 4, 2020 Author Report Share Posted August 4, 2020 Multumesc pentru ajutor VLM, am rezolvat 1 Quote Link to comment Share on other sites More sharing options...
Question
TheGodfather
Salut, primesc urmatoarea eroare pentru comanda /rpforall.
====================================================================
Error ID: 1065, Eroare: Query was empty
Callback:
gQuery:
====================================================================
YCMD:rpforall(playerid, params[], help) {
new szMessage[180], rp;
if(sscanf(params, "i", rp)) return SCM(playerid, COLOR_GREY, "Syntax: {FFFFFF}/rpforall <amount>");
if(PlayerInfo[playerid][pAdmin] < 6) return SCM(playerid, COLOR_GREY, "Nu esti autorizat sa folosesti aceasta comanda!");
foreach(Player, i) {
if(IsPlayerConnected(i) && IsPlayerLogged == 1) {
PlayerInfo[pExp] += rp;
Update(i, pExp);
format(szMessage, sizeof(szMessage), "* Administratorul {F03636}%s{FFFFFF} ti-a dat %d RP-uri ca bonus!",GetName(playerid), rp);
SCM(i,COLOR_WHITE,szMessage);
UpdateProgress(i);
}
}
return true;
}
Link to comment
Share on other sites
4 answers to this question
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.