Help with team selection
#4

Quote:
Originally Posted by Nabster
Посмотреть сообщение
So without using OnPlayerRequestClass i can't make that happen?

This is my team selection,just a little script

Код:
if(clickedid == USAText)
	{
        TextDrawHideForPlayer(playerid,Team);
		TextDrawHideForPlayer(playerid,TeamBox);
		TextDrawHideForPlayer(playerid,USAText);
		TextDrawHideForPlayer(playerid,TalibanText);
		TextDrawShowForPlayer(playerid,Box);
		TextDrawShowForPlayer(playerid,Class);
		TextDrawShowForPlayer(playerid,Soldier);
		TextDrawShowForPlayer(playerid,JetTrooper);
		TextDrawShowForPlayer(playerid,Spy);
		TextDrawShowForPlayer(playerid,Sniper);
		SetPlayerTeam(playerid, 0);
		SelectTextDraw(playerid,COLOR_RED);
	}
This is OnPlayerClickTextDraw callback. If you want the player to see the custom class selection you first have to spawn him when he requests class (OnPlayerRequestClass) selection and than you have to send him to the custom class selection.
Reply


Messages In This Thread
Help with team selection - by Nabster - 07.03.2015, 09:22
Re: Help with team selection - by De4dpOol - 07.03.2015, 09:52
Re: Help with team selection - by Nabster - 07.03.2015, 11:49
Re: Help with team selection - by De4dpOol - 07.03.2015, 11:56
Re: Help with team selection - by Nabster - 07.03.2015, 12:28

Forum Jump:


Users browsing this thread: 1 Guest(s)