01.03.2011, 20:07
Estou com uns erros quando compilo meu servidor , serб que alguem pode me ajudar ?
Agradeзo desde jб.
Код:
C:\Users\Cardoso\Desktop\Seerver\pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definition C:\Users\Cardoso\Desktop\Seerver\gamemodes\BNG.pwn(28661) : warning 202: number of arguments does not match definition C:\Users\Cardoso\Desktop\Seerver\gamemodes\BNG.pwn(46823) : warning 217: loose indentation C:\Users\Cardoso\Desktop\Seerver\gamemodes\BNG.pwn(46825) : warning 217: loose indentation C:\Users\Cardoso\Desktop\Seerver\gamemodes\BNG.pwn(46835) : warning 217: loose indentation C:\Users\Cardoso\Desktop\Seerver\gamemodes\BNG.pwn(46847) : warning 217: loose indentation C:\Users\Cardoso\Desktop\Seerver\gamemodes\BNG.pwn(46859) : warning 217: loose indentation C:\Users\Cardoso\Desktop\Seerver\gamemodes\BNG.pwn(46861) : warning 217: loose indentation C:\Users\Cardoso\Desktop\Seerver\gamemodes\BNG.pwn(46872) : warning 217: loose indentation C:\Users\Cardoso\Desktop\Seerver\gamemodes\BNG.pwn(46874) : warning 217: loose indentation C:\Users\Cardoso\Desktop\Seerver\gamemodes\BNG.pwn(46890) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 12700 bytes Code size: 2460748 bytes Data size: 7045524 bytes Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion Total requirements: 9535356 bytes
pawn Код:
if(strcmp(cmd, "/ah", true) == 0 || strcmp(cmd, "aa", true ) == 0 || strcmp(cmd, "/adminhelp", true) == 0 || strcmp(cmd, "/ajudaadmin", true) == 0)
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
SendClientMessage(playerid, COLOR_DBLUE," Ajuda para o admin");
SendClientMessage(playerid, COLOR_WHITE,"~ Use /ah1 , /ah2 , /ah3 , /ah4 /ah3000 ~");
SendClientMessage(playerid, COLOR_DBLUE,"~ ---------------- ~");
}
return 1;
}
if(strcmp(cmd, "/ah1", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "[Level 1] /adminspawn /serviзoadmin /dirigircarro /profs /spawn /trazer /prender /mutar /kick /bofetada /dn /up /mp ");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "[Level 1] /afk /emp /fixveh /lt /rt /espiar /checararmas /pararespiar /irls /irlv /irsf /ir /cv /a /fly /tunecmds ");
}
}
return 1;
}
if(strcmp(cmd, "/ah2", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 2)
{
SendClientMessage(playerid, COLOR_OOC,"[Level 2] /darcolete /skydive /ouvirtodos /congelar /tanquecheio");
SendClientMessage(playerid, COLOR_OOC,"[Level 2] /daremprego /darvida /pegarip /avisados /pstats /tirararmas /descongelar");
}
}
return 1;
}
if(strcmp(cmd, "/ah3", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 3)
{
SendClientMessage(playerid, COLOR_YELLOW,"[Level 3] /sban /aviso /ao /forcedrive /tempo /tunados /entercar /ircar /mark /irmark /gethere /pegarcarro /dararma");
SendClientMessage(playerid, COLOR_YELLOW,"[Level 3] /bangu /ban /irkick /irblood /irtrack /irvice /irderby /irrc /irin /irin2 /irmar /irstad /irjet (/v)eiculo");
}
}
return 1;
}
if(strcmp(cmd, "/ah4", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 4)
{
SendClientMessage(playerid, COLOR_YELLOW2,"[Level 4] /spawncar /tiraraviso /tirarprof /ativarsms /tiraremprego /fourdive /hq /logout /logoutpl /logoutall ");
SendClientMessage(playerid, COLOR_YELLOW2,"[Level 4] /dardrogas /darmateriais /forceskin /setfamily /mudarcarrocasa /fixveh /setchamp");
SendClientMessage(playerid, COLOR_YELLOW2,"/spawncar2 /addenthouse /addentbiz /addentsbiz /asellhouse /asellbiz /house /houseo /addentradasbiz /biz /sbiz /edit /editar");
}
}
return 1;
}
if(strcmp(cmd, "/ah3000", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 3000)
{
SendClientMessage(playerid, COLOR_RED,"[Level 3000] /delveh /darlider /carroalugado /iniciarloteria /desbanirip");
SendClientMessage(playerid, COLOR_RED,"[Level 3000] /resetarcarroscasa /pergunta /encerrarpergunta /enquete /horajogo /resetarconta /licenciar /daradminirc");
SendClientMessage(playerid, COLOR_RED,"[Level 3000] /gmx /mudarnome /ativarmp /ativarcw /sairhosp /darvip /darvippremium /darvipsocio /tirarvip");
SendClientMessage(playerid, COLOR_RED,"[Level 3000] /skick /sban /setstat /dolar /dardinheiro /dinheiro /resetarcarros");
}
}
return 1;
}