Jump to content

Ajutor erori.


Pitbul97

Recommended Posts

Ma puteti ajuta la cateva erori 029 | 215 | 001 | 107 

Quote

C:\Users\User\Desktop\test\Carbon.pwn(27983) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\test\Carbon.pwn(27983) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\test\Carbon.pwn(27983) : warning 215: expression has no effect
C:\Users\User\Desktop\test\Carbon.pwn(27983) : error 001: expected token: ";", but found "]"
C:\Users\User\Desktop\test\Carbon.pwn(27983) : fatal error 107: too many error messages on one line
 

Comanda este aceasta:

Quote

 

Link to comment
Share on other sites

Acum 1 minut, Pitbul97 a spus:

Poftim.

 

Ai uitat sa pui ")" adica asa format(string,sizeof(string),"1. %s | Leader: %s | Members: %d", FactionInfo[0][FactionName], FactionInfo[0][FactionLeader], FactionInfo[0][FactionMembers]);

giphy.gif

Link to comment
Share on other sites

CMD:fac(playerid, params[])
{
    new string[678];
    SendClientMessage(playerid, COLOR_RED, "___ FACTIONS OF QUANTUM GAMING NETWORK ___");
    format(string,sizeof(string),"1. %s | Leader: %s | Members: %d", FactionInfo[0][FactionName], FactionInfo[0][FactionLeader], FactionInfo[0][FactionMembers]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string,sizeof(string),"2. %s | Leader: %s | Members: %d", FactionInfo[1][FactionName], FactionInfo[1][FactionLeader], FactionInfo[1][FactionMembers]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string,sizeof(string),"3. %s | Leader: %s | Members: %d", FactionInfo[2][FactionName], FactionInfo[2][FactionLeader], FactionInfo[2][FactionMembers]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string,sizeof(string),"4. %s | Leader: %s | Members: %d", FactionInfo[3][FactionName], FactionInfo[3][FactionLeader], FactionInfo[3][FactionMembers]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string,sizeof(string),"5. %s | Leader: %s | Members: %d", FactionInfo[4][FactionName], FactionInfo[4][FactionLeader], FactionInfo[4][FactionMembers]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string,sizeof(string),"6. %s | Leader: %s | Members: %d", FactionInfo[5][FactionName], FactionInfo[5][FactionLeader], FactionInfo[5][FactionMembers]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string,sizeof(string),"7. %s | Leader: %s | Members: %d", FactionInfo[6][FactionName], FactionInfo[6][FactionLeader], FactionInfo[6][FactionMembers]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string,sizeof(string),"8. %s | Leader: %s | Members: %d", FactionInfo[7][FactionName], FactionInfo[7][FactionLeader], FactionInfo[7][FactionMembers]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string,sizeof(string),"9. %s | Leader: %s | Members: %d", FactionInfo[8][FactionName], FactionInfo[8][FactionLeader], FactionInfo[8][FactionMembers]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string,sizeof(string),"10. %s | Leader: %s | Members: %d", FactionInfo[9][FactionName], FactionInfo[9][FactionLeader], FactionInfo[9][FactionMembers]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    return 1;
}

 

adaug-o pe toata langa aia, mie imi merge.

Link to comment
Share on other sites

Quote

C:\Users\User\Desktop\samp03\gamemodes\Carbon.pwn(23982) : error 017: undefined symbol "id"
C:\Users\User\Desktop\samp03\gamemodes\Carbon.pwn(24069) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\samp03\gamemodes\Carbon.pwn(24069) : warning 215: expression has no effect
C:\Users\User\Desktop\samp03\gamemodes\Carbon.pwn(24069) : error 001: expected token: ";", but found "return"
C:\Users\User\Desktop\samp03\gamemodes\Carbon.pwn(24072) : warning 225: unreachable code
C:\Users\User\Desktop\samp03\gamemodes\Carbon.pwn(27984) : error 017: undefined symbol "FactionInfo"
C:\Users\User\Desktop\samp03\gamemodes\Carbon.pwn(27984) : warning 215: expression has no effect
C:\Users\User\Desktop\samp03\gamemodes\Carbon.pwn(27984) : error 001: expected token: ";", but found "]"
C:\Users\User\Desktop\samp03\gamemodes\Carbon.pwn(27984) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\samp03\gamemodes\Carbon.pwn(27984) : fatal error 107: too many error messages on one line
 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

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.