[Ajuda] TextDraw Clicaveis
#5

vou da um exemplo



public OnPlayerRequestClass
{
MostrarLogin(playerid);//mostra as textdraw de login



public OnPlayerSpawn(playerid)
{
TirarLogin(playerid);//tira tela de login apos Spawnar no servidor





forward MostrarLogin(playerid);
public MostrarLogin(playerid)
{
TextDrawShowForPlayer(playerid, TDEditor_TD[0]);
TextDrawShowForPlayer(playerid, TDEditor_TD[1]);
TextDrawShowForPlayer(playerid, TDEditor_TD[2]);
TextDrawShowForPlayer(playerid, TDEditor_TD[3]);
TextDrawShowForPlayer(playerid, TDEditor_TD[4]);
TextDrawShowForPlayer(playerid, TDEditor_TD[5]);
TextDrawShowForPlayer(playerid, TDEditor_TD[6]);
TextDrawShowForPlayer(playerid, TDEditor_TD[7]);
TextDrawShowForPlayer(playerid, TDEditor_TD[8]);
TextDrawShowForPlayer(playerid, TDEditor_TD[9]);
TextDrawShowForPlayer(playerid, TDEditor_TD[10]);
TextDrawShowForPlayer(playerid, TDEditor_TD[11]);
TextDrawShowForPlayer(playerid, TDEditor_TD[12]);
TextDrawShowForPlayer(playerid, TDEditor_TD[13]);
TextDrawShowForPlayer(playerid, TDEditor_TD[14]);
TextDrawShowForPlayer(playerid, TDEditor_TD[15]);
TextDrawShowForPlayer(playerid, TDEditor_TD[16]);
TextDrawShowForPlayer(playerid, TDEditor_TD[17]);
TextDrawShowForPlayer(playerid, TDEditor_TD[18]);
TextDrawShowForPlayer(playerid, TDEditor_TD[19]);
return 1;
}

forward TirarLogin(playerid);
public TirarLogin(playerid)
{
TextDrawHideForPlayer(playerid, TDEditor_TD[0]);
TextDrawHideForPlayer(playerid, TDEditor_TD[1]);
TextDrawHideForPlayer(playerid, TDEditor_TD[2]);
TextDrawHideForPlayer(playerid, TDEditor_TD[3]);
TextDrawHideForPlayer(playerid, TDEditor_TD[4]);
TextDrawHideForPlayer(playerid, TDEditor_TD[5]);
TextDrawHideForPlayer(playerid, TDEditor_TD[6]);
TextDrawHideForPlayer(playerid, TDEditor_TD[7]);
TextDrawHideForPlayer(playerid, TDEditor_TD[8]);
TextDrawHideForPlayer(playerid, TDEditor_TD[9]);
TextDrawHideForPlayer(playerid, TDEditor_TD[10]);
TextDrawHideForPlayer(playerid, TDEditor_TD[11]);
TextDrawHideForPlayer(playerid, TDEditor_TD[12]);
TextDrawHideForPlayer(playerid, TDEditor_TD[13]);
TextDrawHideForPlayer(playerid, TDEditor_TD[14]);
TextDrawHideForPlayer(playerid, TDEditor_TD[15]);
TextDrawHideForPlayer(playerid, TDEditor_TD[16]);
TextDrawHideForPlayer(playerid, TDEditor_TD[17]);
TextDrawHideForPlayer(playerid, TDEditor_TD[18]);
TextDrawHideForPlayer(playerid, TDEditor_TD[19]);
CancelSelectTextDraw(playerid);
return 1;
}



Apenas um exemplo para v se consegue ter uma ideia de como se fazer! sem criticas pfv


so quiz ajudar do jeito q criei a minha
Reply


Messages In This Thread
TextDraw Clicaveis - by BuDweiSeR - 08.12.2017, 15:30
Re: [AJUDA]TextDraw Clicaveis - by DelK - 08.12.2017, 15:42
Re: [AJUDA]TextDraw Clicaveis - by Warlley - 08.12.2017, 16:07
Re: [AJUDA]TextDraw Clicaveis - by BuDweiSeR - 08.12.2017, 17:42
Re: [AJUDA]TextDraw Clicaveis - by RafaeeL - 12.12.2017, 22:16
Re: [AJUDA]TextDraw Clicaveis - by DelK - 12.12.2017, 22:41
Re: [AJUDA]TextDraw Clicaveis - by RogerCosta - 12.12.2017, 23:15
Re: [AJUDA]TextDraw Clicaveis - by BuDweiSeR - 13.12.2017, 00:37
Re: TextDraw Clicaveis - by BuDweiSeR - 18.12.2017, 01:15
Re: TextDraw Clicaveis - by Marllun - 18.12.2017, 01:18

Forum Jump:


Users browsing this thread: 1 Guest(s)