SA-MP Forums Archive
Returning a player back to the spawn sellection screen? - 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: Returning a player back to the spawn sellection screen? (/showthread.php?tid=110701)



Returning a player back to the spawn sellection screen? - Studio - 28.11.2009

Returning a player back to the spawn sellection screen?

I want it in this function:
Код:
	if(gPlayerLogged[playerid] == 0)
	{
  	SendClientMessage(playerid, COLOR_LIGHTRED, "** This server requires a Login BEFORE spawn!");
 	}



Re: Returning a player back to the spawn sellection screen? - Retardedwolf - 28.11.2009

https://sampwiki.blast.hk/wiki/ForceClassSelection


pawn Код:
if(gPlayerLogged[playerid] == 0)
    {
    SendClientMessage(playerid, COLOR_LIGHTRED, "** This server requires a Login BEFORE spawn!");
         ForceClassSelection(playerid);
         SetPlayerHealth(playerid,0);
    }