0 Membres et 1 Invité sur ce sujet
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\GAMEMO~1\LEPTIR~1.PWN(16905) : error 017: undefined symbol "i"C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\GAMEMO~1\LEPTIR~1.PWN(16905) : warning 205: redundant code: constant expression is zeroC:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\GAMEMO~1\LEPTIR~1.PWN(16905) : error 017: undefined symbol "i"C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\GAMEMO~1\LEPTIR~1.PWN(16905) : warning 215: expression has no effectC:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\GAMEMO~1\LEPTIR~1.PWN(16905) : error 001: expected token: ")", but found ";"C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\GAMEMO~1\LEPTIR~1.PWN(16905) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase4 Errors.
if(strcmp(cmd, "/ja", true) == 0) { if (PlayerInfo[playerid][pAdmin] < 1) { SendClientMessage(playerid, COLOR_GREY, "Tu n'es pas autorisé a utiliser cette commande"); return 1; } tmp = strtok(cmdtext,idx); if (!strlen(tmp)) { SendClientMessage(playerid, COLOR_GREY, "USAGE: /ja [playerid/partOfName]"); return 1; } giveplayerid = ReturnUser(tmp); if (giveplayerid == INVALID_PLAYER_ID) { SendClientMessage(playerid, COLOR_GREY, "Ce joueur est offline"); return 1; } new sweapon, sammo; GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%s hpossede les armes suivante:", giveplayer); SendClientMessage(playerid, COLOR_GRAD1, string); for (i=0; i<9; i++) { GetPlayerWeaponData(giveplayerid, i, sweapon, sammo); format(string, sizeof(string), "%d: %d (%d)", i, sweapon, sammo); SendClientMessage(playerid, COLOR_GRAD1, string); } return 1; }
for (i=0; i<9; i++)
for (new i=0; i<9; i++)