25.05.2013, 09:03
Code:
Errors:
Lines:
pawn Код:
if(!strcmp(cmd,"/Clans",true))
{
SendClientMessage(playerid, yellow, "!•••••• Clans ••••••!");
new count, clfile[64];
for(new id; id < 256; id++) if(dini_Isset("TUsers/Clans/Clans.ini", id))
{
format(clfile,sizeof(clfile),"TUsers/Clans/Clans.ini", dini_Get("TUsers/Clans/Clans.ini", id));
if(dini_Exists(clfile))
{
count++;
format(str, sizeof(str), "%d. %s",count, dini_Get("TUsers/Clans/Clans.ini", id));
SendClientMessage(playerid, orange, str);
}
}
if(count == 0)
SendClientMessage(playerid, yellow, "айп чмарйн");
return 1;
}
pawn Код:
C:\Users\Eliyahu\Desktop\server\gamemodes\MegaDeathMatch.pwn(6435) : error 035: argument type mismatch (argument 2)
C:\Users\Eliyahu\Desktop\server\gamemodes\MegaDeathMatch.pwn(6437) : error 035: argument type mismatch (argument 2)
C:\Users\Eliyahu\Desktop\server\gamemodes\MegaDeathMatch.pwn(6441) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
pawn Код:
for(new id; id < 256; id++) if(dini_Isset("TUsers/Clans/Clans.ini", id))
format(clfile,sizeof(clfile),"TUsers/Clans/Clans.ini", dini_Get("TUsers/Clans/Clans.ini", id));
format(str, sizeof(str), "%d. %s",count, dini_Get("TUsers/Clans/Clans.ini", id));