[AJUDA] OnRconLoginAttemp
#1

Entao galerinha eu catei esse code aki pra se errar tres vezes a senha da rcon seria banido! mais deu uns errinho vejam ele ae

Код:
public OnRconLoginAttemp( ip[], password[], sucess )
{
   if( !sucess )
   {
      new kIP[ 16 ];
      for( new playerid; playerid <= MAX_PLAYERS; playerid++ )
      {
         GetPlayerIp( playerid, kIP, sizeof( kIP ) );
         if( !strcmp( ip, kIP, true ) )
         {
            SendClientMessage( playerid, -1, "[RCON] Senha errada, se errar 3 vezes serб banido!" );
            SetPVarInt( playerid, "kTent", GetPVarInt( playerid, "kTen" ) + 1 )

            if( GetPVarInt( playerid, "kTent" ) == 3 ) return Ban( playerid );
         }
      }
   }
   return true;
}
й esse ai em cima.. agora veja os erros..

Код:
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\BCF.pwn(4816) : warning 235: public function lacks forward declaration (symbol "OnRconLoginAttemp")
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\BCF.pwn(4827) : error 017: undefined symbol "SetPVarInt"
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\BCF.pwn(4829) : error 001: expected token: ";", but found "if"
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\BCF.pwn(4829) : error 017: undefined symbol "GetPVarInt"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
oque eu faзo
Reply


Messages In This Thread
[AJUDA] OnRconLoginAttemp - by marcos5680 - 18.06.2011, 05:02
Re: [AJUDA] OnRconLoginAttemp - by The Knight - 18.06.2011, 09:57
Re: [AJUDA] OnRconLoginAttemp - by DreeH - 18.06.2011, 17:31
Respuesta: Re: [AJUDA] OnRconLoginAttemp - by marcos5680 - 20.06.2011, 16:11
Re: [AJUDA] OnRconLoginAttemp - by Shadoww5 - 20.06.2011, 16:29
Respuesta: [AJUDA] OnRconLoginAttemp - by marcos5680 - 20.06.2011, 16:48
Re: [AJUDA] OnRconLoginAttemp - by The Knight - 20.06.2011, 16:52
Re: [AJUDA] OnRconLoginAttemp - by [S]trong - 20.06.2011, 16:53
Respuesta: Re: [AJUDA] OnRconLoginAttemp - by marcos5680 - 20.06.2011, 17:01
Re: [AJUDA] OnRconLoginAttemp - by Shadoww5 - 20.06.2011, 19:35

Forum Jump:


Users browsing this thread: 1 Guest(s)