Help Again xD
#10

Quote:
Originally Posted by Ralfie
Посмотреть сообщение
Are you able to click them? Is there a cursor?
The textdraws seems to be fine.

Are you sure you are setting SelectTextDraw before showing the textdraws?

Edit: also the callback may be as simple as:

Код:
		for(new i; i<13; i++) 
	    TextDrawHideForPlayer(playerid, Undercover_TD[i]);

	if(_:clickedid != INVALID_TEXT_DRAW) { 
		CancelSelectTextDraw(playerid);	// https://sampforum.blast.hk/showthread.ph...8.30792755	}
	
	if(clickedid == Undercover_TD[2]) {
		SetPlayerSkin(playerid, 29);
	}
	if(clickedid == Undercover_TD[3]) {
		SetPlayerSkin(playerid, 28);
	}
	if(clickedid == Undercover_TD[4]) {
		SetPlayerSkin(playerid, 23);
	}
	if(clickedid == Undercover_TD[5]) {
		SetPlayerSkin(playerid, 6);
	}
	if(clickedid == Undercover_TD[6]) {
		SetPlayerSkin(playerid, 170);
	}
	if(clickedid == Undercover_TD[8]) {
		SetPlayerSkin(playerid, 5);
	}
	if(clickedid == Undercover_TD[9]) {
		SetPlayerSkin(playerid, 4);
	}
	if(clickedid == Undercover_TD[10]) {
		SetPlayerSkin(playerid, 169);
	}
	if(clickedid == Undercover_TD[11]) {
		SetPlayerSkin(playerid, 79);
	}
	if(clickedid == Undercover_TD[12]) {
		SetPlayerSkin(playerid, 33);
	}

	SetPlayerColor(playerid, 0xFFFFFF00);
It's not working ...
Reply


Messages In This Thread
Help Again xD - by Mariciuc223 - 19.08.2015, 12:50
Re: Help Again xD - by LazyB0y - 19.08.2015, 15:22
Re: Help Again xD - by Mariciuc223 - 19.08.2015, 17:15
Re: Help Again xD - by Variable™ - 19.08.2015, 17:22
Re: Help Again xD - by Mariciuc223 - 19.08.2015, 18:30
Re: Help Again xD - by Mariciuc223 - 19.08.2015, 19:05
Re: Help Again xD - by Mariciuc223 - 20.08.2015, 06:59
Re: Help Again xD - by Toxik - 20.08.2015, 07:19
Re: Help Again xD - by Evocator - 20.08.2015, 07:59
Re: Help Again xD - by Mariciuc223 - 20.08.2015, 08:39

Forum Jump:


Users browsing this thread: 2 Guest(s)