- 0
Problema compilare.
-
Similar Content
-
- 22 replies
- 807 views
-
- 4 replies
- 382 views
-
Problema turf
By Soryn.,
- 2 answers
- 208 views
-
- 1 reply
- 166 views
-
Problema
By ImJustSlim,
- 3 answers
- 278 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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;
}
Link to comment
Share on other sites
1 answer 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.