Textdraw
#2

PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
    if(
newkeys == KEY_SUBMISSION)
    {
        
TextDrawShowForPlayer(playeridTextdraw4);
    
TextDrawShowForPlayer(playeridTextdraw6);
    
SelectTextDraw(playeridCOLOR_GREY);
    }
    return 
1;
}
 
public 
OnPlayerClickTextDraw(playeridText:clickedid)
{
    if(
clickedid == Textdraw4)
    {
         
SendClientMessage(playerid0xFFFFFFAA"You clicked on a Textdraw4.");
         
CancelSelectTextDraw(playerid);
    }
    else if(
clickedid == Textdraw6)
    {
         
SendClientMessage(playerid0xFFFFFFAA"You clicked on a Textdraw6.");
         
CancelSelectTextDraw(playerid);
    }
    return 
1;

Being REGISTER and LOGIN, you should use PlayerTextDraw...?

Sorry my bad english :c
Reply


Messages In This Thread
Textdraw - by K0P - 22.03.2016, 14:04
Re: Textdraw - by F1N4L - 22.03.2016, 14:23
Re: Textdraw - by K0P - 22.03.2016, 14:57
Re: Textdraw - by UltraScripter - 22.03.2016, 16:54
Re: Textdraw - by UltraScripter - 22.03.2016, 17:10

Forum Jump:


Users browsing this thread: 1 Guest(s)