- 0
Query was empty
-
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
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;
}
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now