Returning a player back to the spawn sellection screen?
#1

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!");
 	}
Reply
#2

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);
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)