SA-MP Forums Archive
Textdraws - 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: Textdraws (/showthread.php?tid=524405)



Textdraws - AlexeyTrekkkk - 06.07.2014

Don't work click texdraws, don't know why.
PHP код:
new Text:Textdraw30
DefCallBack::OnPlayerClickTextDraw(playeridText:clickedid

    if(
clickedid == Textdraw30
    { 
    
Kick(playerid); 
    } 
    return 
true

stock RegTD() 

Textdraw30 TextDrawCreate(177.666687177.955551"e-mail"); 
    
TextDrawLetterSize(Textdraw300.4499991.600000); 
    
TextDrawAlignment(Textdraw301); 
    
TextDrawColor(Textdraw30, -1); 
    
TextDrawSetShadow(Textdraw300); 
    
TextDrawSetOutline(Textdraw301); 
    
TextDrawBackgroundColor(Textdraw3051); 
    
TextDrawFont(Textdraw301); 
    
TextDrawSetProportional(Textdraw301); 
    
TextDrawShowForPlayer(playeridTextdraw30); 
    
TextDrawSetSelectable(Textdraw301); 
    
SelectTextDraw(playerid0xA3B4C5FF); 
    return 
1

This is stock called if account is not found in DB.


Re: Textdraws - AlexeyTrekkkk - 07.07.2014

Who can help me? please.