SA-MP Forums Archive
Help Can't click TextDraw. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help Can't click TextDraw. (/showthread.php?tid=552009)



Help Can't click TextDraw. - ScorpiusMalfoy - 22.12.2014

Same title, i can't click my TextDraw, what worng with my script ? Pls help me. Thank you

PHP код:
Player_Inventory[1] = CreatePlayerTextDraw(playerid375.099884283.868804"Up Level");
    
PlayerTextDrawLetterSize(playeridPlayer_Inventory[1], 0.1993991.057422);
    
PlayerTextDrawTextSize(playeridPlayer_Inventory[1], 438.8999020.000000);
    
PlayerTextDrawAlignment(playeridPlayer_Inventory[1], 1);
    
PlayerTextDrawColor(playeridPlayer_Inventory[1], -1);
    
PlayerTextDrawUseBox(playeridPlayer_Inventory[1], 1);
    
PlayerTextDrawBoxColor(playeridPlayer_Inventory[1], 102);
    
PlayerTextDrawSetShadow(playeridPlayer_Inventory[1], 0);
    
PlayerTextDrawSetOutline(playeridPlayer_Inventory[1], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayer_Inventory[1], 255);
    
PlayerTextDrawFont(playeridPlayer_Inventory[1], 2);
    
PlayerTextDrawSetProportional(playeridPlayer_Inventory[1], 1);
    
PlayerTextDrawSetShadow(playeridPlayer_Inventory[1], 0);
    
PlayerTextDrawSetSelectable(playeridPlayer_Inventory[42], true);
    
Player_Inventory[42] = CreatePlayerTextDraw(playerid191.798919284.366668"Exit");
    
PlayerTextDrawLetterSize(playeridPlayer_Inventory[42], 0.1993991.057422);
    
PlayerTextDrawTextSize(playeridPlayer_Inventory[42], 242.7989800.000000);
    
PlayerTextDrawAlignment(playeridPlayer_Inventory[42], 1);
    
PlayerTextDrawColor(playeridPlayer_Inventory[42], -1);
    
PlayerTextDrawUseBox(playeridPlayer_Inventory[42], 1);
    
PlayerTextDrawBoxColor(playeridPlayer_Inventory[42], 102);
    
PlayerTextDrawSetShadow(playeridPlayer_Inventory[42], 0);
    
PlayerTextDrawSetOutline(playeridPlayer_Inventory[42], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayer_Inventory[42], 255);
    
PlayerTextDrawFont(playeridPlayer_Inventory[42], 2);
    
PlayerTextDrawSetProportional(playeridPlayer_Inventory[42], 1);
    
PlayerTextDrawSetShadow(playeridPlayer_Inventory[42], 0);
    
PlayerTextDrawSetSelectable(playeridPlayer_Inventory[42], true); 



Re: Help Can't click TextDraw. - Threshold - 22.12.2014

Where do you use SelectTextDraw?


Re: Help Can't click TextDraw. - ScorpiusMalfoy - 22.12.2014

Quote:
Originally Posted by Threshold
Посмотреть сообщение
Where do you use SelectTextDraw?
yes i do that. All textdraw on my system can click. Still 2 can't. Sorry my eng bad.


Re: Help Can't click TextDraw. - Threshold - 22.12.2014

No, "WHERE" do you use it?

OnPlayerSpawn? OnPlayerConnect?