/class command help
#3

PHP код:
//Under your command
ForceClassSelection(playerid);//This forces class selection, it won't actually happen until they begin to respawn.
public OnPlayerRequestClass(playerid,classid)
{
    
TextDrawShowForPlayer(playerid,TEXTDRAWID);//Show the textdraw at class selection.
    
return 1;
}
public 
OnPlayerRequestSpawn(playerid)
{
    
TextDrawHideForPlayer(playerid,TEXTDRAWID);//Hide the textdraw when they request to spawn from class selection.
    
return 1;

Replace TEXTDRAWID with your textdraw.
Reply


Messages In This Thread
/class command help - by NeamPojma - 19.06.2015, 18:08
Re: /class command help - by NeamPojma - 20.06.2015, 07:16
Re: /class command help - by Banana_Ghost - 20.06.2015, 08:30
Re: /class command help - by NeamPojma - 20.06.2015, 08:49

Forum Jump:


Users browsing this thread: 1 Guest(s)