- 0
Problema compilare.
-
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
Csf
C:\gm\edit by adrian\KiNGZoR.pwn(22817) : error 029: invalid expression, assumed zero
C:\gm\edit by adrian\KiNGZoR.pwn(22817) : warning 215: expression has no effect
C:\gm\edit by adrian\KiNGZoR.pwn(22817) : warning 215: expression has no effect
C:\gm\edit by adrian\KiNGZoR.pwn(22817) : warning 215: expression has no effect
C:\gm\edit by adrian\KiNGZoR.pwn(22817) : warning 215: expression has no effect
C:\gm\edit by adrian\KiNGZoR.pwn(22817) : warning 215: expression has no effect
C:\gm\edit by adrian\KiNGZoR.pwn(22817) : error 001: expected token: ";", but found ")"
C:\gm\edit by adrian\KiNGZoR.pwn(22817) : error 029: invalid expression, assumed zero
C:\gm\edit by adrian\KiNGZoR.pwn(22817) : fatal error 107: too many error messages on one line
Linia:
ShowPlayerDialog(playerid, DIALOG_APLICATII, DIALOG_STYLE_TABLIST_HEADERS, "Aplicatile jucatorilor...", stringapps , "Selecteaza", "Anuleaza");
Comanda:
CMD:aplicatii(playerid, params[])
{
new checkmysql[1200],idaplicant,stringapps[1000],doarodata = 0,levelaplicant,numeaplicant[60],oreaplicant,result[500],idlistitem = 0;
if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_ERROR, "Nu esti logat.");
new Cache: verificare3;
if(PlayerInfo[playerid][pLeader] < 1) return SCM(playerid, COLOR_ERROR, "Nu esti lider la o factiune");
mysql_format(SQL, checkmysql, sizeof(checkmysql), "SELECT * FROM `aplications` WHERE `factionid`='%d'",PlayerInfo[playerid][pLeader]);
new Cache: verificare = mysql_query(SQL, checkmysql);
if(cache_get_row_count() > 0)
{
for(new i, c = cache_get_row_count(); i != c; i++)
{
idaplicant = cache_get_field_content_int(i, "playerid");
mysql_format(SQL, checkmysql, sizeof(checkmysql), "SELECT * FROM `users` WHERE `id`='%d'",idaplicant);
new Cache: verificare2 = mysql_query(SQL, checkmysql);
for(new x, ca = cache_get_row_count(); x != ca; x++)
{
cache_get_field_content(x, "name", result); format(numeaplicant, 30, result);
levelaplicant = cache_get_field_content_int(x, "Level");
oreaplicant = cache_get_field_content_int(x, "ConnectedTime");
Selected[playerid][idlistitem] = idaplicant;
idlistitem += 1;
cache_delete(verificare2);
if(doarodata == 0)
{
format(stringapps, sizeof(stringapps), "Nume\tLevel\tOre jucate\n");
doarodata = 1;
}
format(stringapps, sizeof(stringapps), "%s%s\t%d\t%d\n",stringapps,numeaplicant,levelaplicant,oreaplicant);
}
mysql_format(SQL, checkmysql, sizeof(checkmysql), "SELECT * FROM `aplications` WHERE `factionid`='%d'",PlayerInfo[playerid][pLeader]);
verificare3 = mysql_query(SQL, checkmysql);
}
ShowPlayerDialog(playerid, DIALOG_APLICATII, DIALOG_STYLE_TABLIST_HEADERS, "Aplicatile jucatorilor...", stringapps , "Selecteaza", "Anuleaza");
}
else
{
SCM(playerid, COLOR_ERROR, "Nu exista aplicatii");
}
cache_delete(verificare3);
cache_delete(verificare);
return 1;
}
1 answer 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