[Ajuda] ajuda
#9

deu os seguinte erros:

pawn Код:
C:\Users\Lucas\Desktop\Sprite Gaming - RPG\gamemodes\SG.pwn(403) : error 017: undefined symbol "playerid"
C:\Users\Lucas\Desktop\Sprite Gaming - RPG\gamemodes\SG.pwn(412) : error 017: undefined symbol "playerid"
C:\Users\Lucas\Desktop\Sprite Gaming - RPG\gamemodes\SG.pwn(416) : warning 209: function "UnBanIP" should return a value
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Codigo: coloquei //erro nas linha em que deram erro.

pawn Код:
stock UnBanNick(Nome[])
{
    new mStr[128];
    format(mStr, 128, LOCALBANNICK, Nome);
    if(!DOF2_FileExists(mStr))return SendClientMessage(playerid, -1,"[ERRO] Conta nao banida.");//erro
    DOF2_RemoveFile(mStr);
    format(mStr, 128, "Aviso- O nick %s acaba de ser desbanido.",Nome);
    return SendClientMessageToAll(-1, mStr);
}
stock UnBanIP(mIP[])
{
    new mStr[128];
    format(mStr, 128, LOCALBANIP, mIP);
    if(!DOF2_FileExists(mStr))return SendClientMessage(playerid, -1,"[ERRO] Conta nao banida.");//erro
    DOF2_RemoveFile(mStr);
    format(mStr, 128, "-Aviso- O ip %i acaba de ser desbanido.", mIP);
    SendClientMessageToAll(-1, mStr);
}//erro
Reply


Messages In This Thread
ajuda - by lucaskill66 - 09.10.2012, 23:40
Re: ajuda - by ViniBorn - 09.10.2012, 23:53
Re: ajuda - by arakuta - 10.10.2012, 00:05
Re: ajuda - by Metropole RP - 10.10.2012, 00:40
Re: ajuda - by lucaskill66 - 10.10.2012, 01:12
Re: ajuda - by Metropole RP - 10.10.2012, 01:41
Re: ajuda - by zSuYaNw - 10.10.2012, 01:56
Re: ajuda - by Jason` - 10.10.2012, 02:02
Re: ajuda - by lucaskill66 - 10.10.2012, 02:50
Re: ajuda - by Metropole RP - 10.10.2012, 19:17

Forum Jump:


Users browsing this thread: 1 Guest(s)