OnPlayerClickTextDraw problem
#3

PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if(!
strcmp(cmdtext"/uhvatimeakomozes"true))
    {
      
TextDrawShowForPlayer(playeridpodloga0);
      
TextDrawShowForPlayer(playeridpodloga1);
      
TextDrawShowForPlayer(playeridpodloga2);
      
TextDrawShowForPlayer(playeridpodloga3);
      
TextDrawShowForPlayer(playeridpodloga4);
      
TextDrawShowForPlayer(playeridpodloga5);
      
TextDrawShowForPlayer(playeridpodloga6);
      
TextDrawShowForPlayer(playeridpodloga7);
      
TextDrawShowForPlayer(playeridpodloga8);
      
TextDrawSetSelectable(podloga01); // repeat for the ones u want selectable
    
return 1;
    }
return 
0;

Also, it's easier to just do new podloga[9]; instead of podloga0...8, you can loop them and show them/hide them without using a shit laod of lines
Reply


Messages In This Thread
OnPlayerClickTextDraw problem - by MikkiMapper - 06.01.2016, 07:25
Re: OnPlayerClickTextDraw problem - by MikkiMapper - 06.01.2016, 07:46
Re: OnPlayerClickTextDraw problem - by itsCody - 06.01.2016, 08:00
Re: OnPlayerClickTextDraw problem - by MikkiMapper - 06.01.2016, 08:04
Re: OnPlayerClickTextDraw problem - by SilverStand - 06.01.2016, 08:23
Re: OnPlayerClickTextDraw problem - by MikkiMapper - 06.01.2016, 08:29
Re: OnPlayerClickTextDraw problem - by SilverStand - 06.01.2016, 08:33
Re: OnPlayerClickTextDraw problem - by MikkiMapper - 06.01.2016, 08:35
Re: OnPlayerClickTextDraw problem - by MikkiMapper - 06.01.2016, 09:23
Re: OnPlayerClickTextDraw problem - by MikkiMapper - 06.01.2016, 11:06

Forum Jump:


Users browsing this thread: 3 Guest(s)