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