18.09.2014, 18:58
Olб povo, estou criando um sistema ъnico e preciso de ajuda de vcs, tipo oha ae pessoa, e vй se alguйm consegue resolver esse bug, e podem compartilhar..
Codigos:
Erros:
Lembrando que o erro esta nessa parte, " format(org, 128, "/RPG/orgs/%s.ini", OrgsNamesSmall(PlayerInfo[playerid][pMembro])); "
Codigos:
Код:
stock infoorg(playerid) { new org[128]; new org2[128]; new string[1024]; new Equip[32]; new tmp[32]; new giveid; format(org, 128, "/RPG/orgs/%s.ini", OrgsNamesSmall(PlayerInfo[playerid][pMembro])); string = " "; Equip = OrgsNames(GetPlayerOrg(playerid)); for (new i = 0; i < sizeof(OrgsCargos); i++) { format(tmp, 32, "%s", dini_Get(org, OrgsCargos[i])); giveid = ReturnUser(tmp); if (IsPlayerConnected(giveid)) format(org2, 128, "{C2A2DA}%s - %s - {00D900}Online\n", OrgsCargos[i], dini_Get(org, OrgsCargos[i])); else if (strcmp(dini_Get(org, OrgsCargos[i]), "Nenhum", true) == 0) format(org2, 128, "{C2A2DA}%s - Nenhum\n", OrgsCargos[i]); else format(org2, 128, "{C2A2DA}%s - %s - {AA3333}Offline\n", OrgsCargos[i], dini_Get(org, OrgsCargos[i])); if (strlen(string) < 1000) format(string, 2048, "%s %s", string, org2); } ShowPlayerDialog(playerid, 24, DIALOG_STYLE_MSGBOX, Equip, string, "Fechar", ""); }
Код:
C:\Documents and Settings\P.Henrique\Desktop\samp03\gamemodes\BUL.pwn(1951) : error 012: invalid function call, not a valid address C:\Documents and Settings\P.Henrique\Desktop\samp03\gamemodes\BUL.pwn(1951) : warning 215: expression has no effect C:\Documents and Settings\P.Henrique\Desktop\samp03\gamemodes\BUL.pwn(1951) : error 001: expected token: ";", but found ")" C:\Documents and Settings\P.Henrique\Desktop\samp03\gamemodes\BUL.pwn(1951) : error 029: invalid expression, assumed zero C:\Documents and Settings\P.Henrique\Desktop\samp03\gamemodes\BUL.pwn(1951) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.