Why this ? warning 202
#1

Код:
C:\Users\Tronic\Desktop\NUEVO\gamemodes\NapsixRoleplay.pwn(183) : warning 202: number of arguments does not match definition
C:\Users\Tronic\Desktop\NUEVO\gamemodes\NapsixRoleplay.pwn(183) : warning 202: number of arguments does not match definition
C:\Users\Tronic\Desktop\NUEVO\gamemodes\NapsixRoleplay.pwn(183) : warning 202: number of arguments does not match definition
C:\Users\Tronic\Desktop\NUEVO\gamemodes\NapsixRoleplay.pwn(183) : warning 202: number of arguments does not match definition
C:\Users\Tronic\Desktop\NUEVO\gamemodes\NapsixRoleplay.pwn(188) : warning 202: number of arguments does not match definition
C:\Users\Tronic\Desktop\NUEVO\gamemodes\NapsixRoleplay.pwn(188) : warning 202: number of arguments does not match definition
C:\Users\Tronic\Desktop\NUEVO\gamemodes\NapsixRoleplay.pwn(191) : warning 202: number of arguments does not match definition
C:\Users\Tronic\Desktop\NUEVO\gamemodes\NapsixRoleplay.pwn(191) : warning 202: number of arguments does not match definition
C:\Users\Tronic\Desktop\NUEVO\gamemodes\NapsixRoleplay.pwn(196) : warning 202: number of arguments does not match definition
C:\Users\Tronic\Desktop\NUEVO\gamemodes\NapsixRoleplay.pwn(196) : warning 202: number of arguments does not match definition
C:\Users\Tronic\Desktop\NUEVO\gamemodes\NapsixRoleplay.pwn(199) : warning 202: number of arguments does not match definition
C:\Users\Tronic\Desktop\NUEVO\gamemodes\NapsixRoleplay.pwn(199) : warning 202: number of arguments does not match definition
C:\Users\Tronic\Desktop\NUEVO\gamemodes\NapsixRoleplay.pwn(203) : warning 202: number of arguments does not match definition
C:\Users\Tronic\Desktop\NUEVO\gamemodes\NapsixRoleplay.pwn(203) : warning 202: number of arguments does not match definition
C:\Users\Tronic\Desktop\NUEVO\gamemodes\NapsixRoleplay.pwn(203) : warning 202: number of arguments does not match definition
C:\Users\Tronic\Desktop\NUEVO\gamemodes\NapsixRoleplay.pwn(203) : warning 202: number of arguments does not match definition
CODE:
pawn Код:
CMD:makeadmin(playerid, params[])
{
    new string[128];
    if(Info[playerid][pAdmin] < 10) return NoAutorizado
    new iLevel, iTarget;
    if(sscanf(params, "ud", iTarget, iLevel)) return SendClientMessage(playerid, -1, "USO: /makeadmin [playerid] [Nivel]");
    if(IsPlayerConnected(iTarget))
    {
        if(iLevel > 10)
        {
            format(string, sizeof(string), "[Napsix RP]: %s ha intentado dar un nivel de admin no permitido a %s", GetPlayerName(playerid), GetPlayerName(iTarget));
            return 1;
        }
        if(Info[playerid][pAdmin] < iLevel)
        {
            format(string, sizeof(string), "El administrador %s te ha dado admin nivel: %d.", GetPlayerName(playerid), iLevel);
            SendClientMessage(iTarget, -1, string);

            format(string, sizeof(string), "Has dado admin nivel %d al jugador %s.", iLevel, GetPlayerName(iTarget));
            SendClientMessage(playerid, -1, string);
        }
        else
        {
            format(string, sizeof(string), "El administrador %s te descendido a admin nivel %d.", GetPlayerName(iTarget), iLevel);
            SendClientMessage(iTarget, -1, string);

            format(string, sizeof(string), "Has descendido a %s a admin nivel %d", GetPlayerName(iTarget), iLevel);
            SendClientMessage(playerid, -1, string);
        }
        Info[iTarget][pAdmin] = iLevel;
        format(string, sizeof(string), "El administrador %s le diу admin nivel %d a: %s", GetPlayerName(playerid), iLevel, GetPlayerName(iTarget));
    }
    else SendClientMessage(playerid, -1, "Ese jugador no estб conectado.");
    return 1;
}
Line 183:
pawn Код:
format(string, sizeof(string), "[Napsix RP]: %s ha intentado dar un nivel de admin no permitido a %s", GetPlayerName(playerid), GetPlayerName(iTarget));
Line 188:
pawn Код:
format(string, sizeof(string), "El administrador %s te ha dado admin nivel: %d.", GetPlayerName(playerid), iLevel);
Line 191:
pawn Код:
format(string, sizeof(string), "Has dado admin nivel %d al jugador %s.", iLevel, GetPlayerName(iTarget));
Line 196:
pawn Код:
format(string, sizeof(string), "El administrador %s te descendido a admin nivel %d.", GetPlayerName(iTarget), iLevel);
Line 199:
pawn Код:
format(string, sizeof(string), "Has descendido a %s a admin nivel %d", GetPlayerName(iTarget), iLevel);
Line 203:
pawn Код:
format(string, sizeof(string), "El administrador %s le diу admin nivel %d a: %s", GetPlayerName(playerid), iLevel, GetPlayerName(iTarget));

P.S.: Ignore Language..
Reply


Messages In This Thread
Why this ? warning 202 - by roderjit - 17.10.2014, 05:36
Re: Why this ? warning 202 - by RoboN1X - 17.10.2014, 05:41
Respuesta: Why this ? warning 202 - by roderjit - 17.10.2014, 05:52

Forum Jump:


Users browsing this thread: 3 Guest(s)