Textdraw
#10

Only these keys can be detected by SA-MP if pressed!

The way you want to do it! It can only be done liike. Press T and Enter the number of skill you want.

Then you are required to make a player array. And make its value 1 when this menu is shown to him.
And check under OnPlayerText when this array for player is 1. Then The number enetered
pawn Код:
public OnPlayerText(playerid, text[])
{
   if(ViewingMenu[playerid] == 1)
   {
       new value = strval(text);
       if(value == 1)
       {
            //Do this
       }
    }
    return 0;
}
Reply


Messages In This Thread
Textdraw - by Mustafa6155 - 17.11.2012, 07:02
Re: Textdraw - by Ballu Miaa - 17.11.2012, 07:05
Re: Textdraw - by Mustafa6155 - 17.11.2012, 07:35
Re: Textdraw - by Ballu Miaa - 17.11.2012, 07:46
Re: Textdraw - by Mustafa6155 - 17.11.2012, 07:49
Re: Textdraw - by B-Matt - 17.11.2012, 07:51
Re: Textdraw - by Ballu Miaa - 17.11.2012, 07:52
Re: Textdraw - by Mustafa6155 - 17.11.2012, 07:54
Re: Textdraw - by Mustafa6155 - 17.11.2012, 10:21
Re: Textdraw - by Ballu Miaa - 17.11.2012, 10:46

Forum Jump:


Users browsing this thread: 1 Guest(s)