Server_log.txt flooding
#5

i can't find any printf in my script.

I found that the problem is generated by this part of code
pawn Код:
//-- SETVIP
dcmd_setvip(playerid, params[])
{
    new tmp[256] , Index; tmp = strtok(params,Index);
    new id = strval(tmp);
    if(!strlen(tmp)) return SendClientMessage(playerid, RED, "USA: /setvip [ID]");
    new file[20],Name[MAX_PLAYER_NAME];
    GetPlayerName(id,Name,sizeof(Name));
    format(file,sizeof(file),PlayerFile,Name);
    new string[128];
    if(IsPlayerAdminLevel(playerid, 3))
    {
        gPlayerInfo[id][PLAYER_ISVIP] = 1;
        dini_IntSet(file,"VIP",1);
        if(ITA[id] == 1) format(string, sizeof(string), "Sei ora un utente VIP! Usa /viphelp per vedere tutti i vantaggi");
        else format(string, sizeof(string), "You are now a VIP user! Use /viphelp");
        SendClientMessage(id, COLOUR_ORANGE,string);
        for(new i; i < MAX_PLAYERS; i++)
        {
       
            format(string, sizeof(string), "%s и ora un utente VIP! Usa /vipinfo per diventarlo anche tu", Name);
            if(ITA[i] == 1) SendClientMessage(i, COLOUR_ORANGE, string);
        }
    }
    else SendClientMessage(playerid, 0xFF0000AA, "Devi essere livello 3 per usare questo comando");
    return 1;
}
cuz when i add it the compiler show me this:
Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:           5580 bytes
Code size:          1277960 bytes
Data size:           204984 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4243 cells (16972 bytes)
Total requirements: 1504908 bytes
and if i delete it only this:
Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
i can't find any error in this script :S
Reply


Messages In This Thread
Server_log.txt flooding - by GabryPonte - 25.10.2010, 15:47
Re: Server_log.txt flooding - by pater - 25.10.2010, 15:49
Re: Server_log.txt flooding - by Kyle - 25.10.2010, 15:52
Re: Server_log.txt flooding - by Scenario - 25.10.2010, 15:56
Re: Server_log.txt flooding - by GabryPonte - 25.10.2010, 17:11
Re: Server_log.txt flooding - by MadeMan - 25.10.2010, 17:25
Re: Server_log.txt flooding - by GabryPonte - 25.10.2010, 18:49
Re: Server_log.txt flooding - by GabryPonte - 25.10.2010, 18:54
Respuesta: Server_log.txt flooding - by The_Moddler - 25.10.2010, 19:00
Re: Server_log.txt flooding - by GabryPonte - 26.10.2010, 14:18

Forum Jump:


Users browsing this thread: 1 Guest(s)