SA-MP Forums Archive
how to block a player in the stage of connecting - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: how to block a player in the stage of connecting (/showthread.php?tid=84022)



how to block a player in the stage of connecting - Haron - 28.06.2009

how to block a player in the stage of connecting, before stage of choice of skin, until he not login? help please)


Re: how to block a player in the stage of connecting - MenaceX^ - 28.06.2009

Using OnPlayerRequestClass?


Re: how to block a player in the stage of connecting - Grim_ - 28.06.2009

You can't, but you can make them login before spawning.
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
  if(Logged[playerid] == false) //your variable to check fi the player is logged in
  {
   SendClientMessage(playerid, color, "Not allowed to spawn. Please login!");
   return 0;
  }
  return 1;
}



Re: how to block a player in the stage of connecting - Haron - 28.06.2009

it not that...i saw that kind of system on a few servers. when you connecting to server, until its loading you see inscription "VINEWOOD", i need to lock player exactly on this stage.


Re: how to block a player in the stage of connecting - Grim_ - 28.06.2009

You can't unless you set their camera pos there.


Re: how to block a player in the stage of connecting - Haron - 28.06.2009

Swift_, thanks, I understood you not so at first)
its ok)