How to code like this
#2

Use TDEditor to create a textdraws ( https://sampforum.blast.hk/showthread.php?tid=543002 ) then you need a callback named "OnPlayerClickTextDraw"

for example

PHP код:
public OnPlayerClickTextDraw(playeridText:clickedid)
{
    if(
clickedid == TextDrawVariable// here you put the variable of the textdraw
    
{
        
// here you put what you want to do when the player click on the textdraw.
        
return 1;
    }
    return 
1;

Reply


Messages In This Thread
How to code like this - by sscarface - 09.06.2015, 23:57
Re: How to code like this - by AlexBlack - 10.06.2015, 00:14

Forum Jump:


Users browsing this thread: 2 Guest(s)