20.08.2015, 08:39
Quote:
|
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...3.39680875 }
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);
|


