SA-MP Forums Archive
Login kick dialoge help needed. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Login kick dialoge help needed. (/showthread.php?tid=394717)



Login kick dialoge help needed. - Biess - 23.11.2012

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!


Re: Login kick dialoge help needed. - [D]ry[D]esert - 23.11.2012

whats the problem ?


Re: Login kick dialoge help needed. - Biess - 23.11.2012

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

...


Re: Login kick dialoge help needed. - Biess - 24.11.2012

Bumb..