como creo un sistema de niveles por score/puntaje?
#9

Quote:
Originally Posted by MrDeath537
Посмотреть сообщение
pawn Код:
if (!strcmp(cmdtext, "/mirango", true))
{
    new string[128];
    GetPlayerLevelName(playerid, string);
    format(string, sizeof (string), "Tu rango actual es: \"%s\"", string);
    SendClientMessage(playerid, 0xFFFFFFFF, string);

    return 1;
}
Me da estos errores:

C:\Users\Rombo\Documents\New Server\Mini-TDM\gamemodes\Mini-TDM.pwn(1263) : warning 219: local variable "iPos" shadows a variable at a preceding level
C:\Users\Rombo\Documents\New Server\Mini-TDM\gamemodes\Mini-TDM.pwn(1263) : error 017: undefined symbol "g_iNivelesInfo"
C:\Users\Rombo\Documents\New Server\Mini-TDM\gamemodes\Mini-TDM.pwn(1263) : warning 215: expression has no effect
C:\Users\Rombo\Documents\New Server\Mini-TDM\gamemodes\Mini-TDM.pwn(1263) : error 001: expected token: ")", but found ";"
C:\Users\Rombo\Documents\New Server\Mini-TDM\gamemodes\Mini-TDM.pwn(1263) : error 036: empty statement
C:\Users\Rombo\Documents\New Server\Mini-TDM\gamemodes\Mini-TDM.pwn(1263) : fatal error 107: too many error messages on one line

La linea que da error:
pawn Код:
for (new iPos = sizeof (g_iNivelesInfo); iPos > 0; iPos --)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)