URGENT HELP, NOT LOGGED = KICK
#1

pawn Код:
forward LoginKick(playerid);
public LoginKick(playerid)
{
       KillTimer( loginkickTimer[playerid] );
       if( !IsPlayerConnected(playerid) ) return 0;
       if(!IsLoggedIn(playerid))
       {
           new str[100];
           if(loginTime[playerid] > 0)
           {
                 // Count down code here
               
               
                 
                 
                   format( str, sizeof(str), "You have 10 seconds to login!");
                GameTextForPlayer( playerid, str, 5000, 5 );
                loginkickTimer[playerid] = SetTimerEx( "LoginKick", 10000, false, "i", playerid );
                print("test1");

               
               
               
           }
           else
           {
               
                format( str, sizeof(str), "You have 10 seconds adwwadawdawdwto login!");
                GameTextForPlayer( playerid, str, 5000, 5 );
                  print("test2");
                   
               
           }
      }
      return 1;
}

I want that if the player doesnt login in 10 seconds he's kicked, plaese help :C
+REP for help.
Reply


Messages In This Thread
URGENT HELP, NOT LOGGED = KICK - by Alex_Obando - 19.10.2013, 14:45
Re: URGENT HELP, NOT LOGGED = KICK - by Konstantinos - 19.10.2013, 14:50
Re: URGENT HELP, NOT LOGGED = KICK - by Patrick - 19.10.2013, 14:50

Forum Jump:


Users browsing this thread: 1 Guest(s)