20.06.2015, 08:30
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;
}