Login kick dialoge help needed.
#1

Hello, today i got a question i have

pawn Код:
forward LoginKick(playerid);
public LoginKick(playerid)
{
  if(PInfo[playerid][Logged] == 0)
  {
     Kick(playerid);
     SendClientMessage(playerid, 0xFF0000FF,"You have been kicked for not logging in 15 seconds!");
     TogglePlayerControllable(playerid,false);
   }
   else
   {
       FirstLogin[playerid] = 1;
   }
   return 1;
}
But i want it if the player does login after the message showed he will be returned to the class selection use this
pawn Код:
ForceClassSelection(playerid);
Thanks!
Reply
#2

whats the problem ?
Reply
#3

But i want it if the player does login after the message showed he will be returned to the class selection use this

...
Reply
#4

Bumb..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)