TextDraw doesn't show
#8

Quote:
Originally Posted by Vince
Посмотреть сообщение
Start using functions instead of cramming everything into an unreadable macro. Macros are meant for small things, not entire function bodies.
PHP код:
ShowOpeningTD(playerid)
{
    
TextDrawShowForPlayer(playeridOP1); 
    
TextDrawShowForPlayer(playeridOP2); 
    
TextDrawShowForPlayer(playeridOP3); 
    
TextDrawShowForPlayer(playeridOP4); 
    
TextDrawShowForPlayer(playeridOP5);

For cleanliness sake you might also want to use an array.
I used
PHP код:
TextDrawShowForPlayer(playeridOP1); 
    
TextDrawShowForPlayer(playeridOP2); 
    
TextDrawShowForPlayer(playeridOP3); 
    
TextDrawShowForPlayer(playeridOP4); 
    
TextDrawShowForPlayer(playeridOP5); 
inside OnPlayerConnect Directly
Reply


Messages In This Thread
TextDraw doesn't show - by NeXoR - 10.10.2016, 10:37
Re: TextDraw doesn't show - by Ronaldo1234 - 10.10.2016, 10:56
Re: TextDraw doesn't show - by NeXoR - 10.10.2016, 11:01
Re: TextDraw doesn't show - by ChristolisTV - 10.10.2016, 11:04
Re: TextDraw doesn't show - by NeXoR - 10.10.2016, 11:29
Re: TextDraw doesn't show - by Vince - 10.10.2016, 11:44
Re: TextDraw doesn't show - by NeXoR - 10.10.2016, 12:36
Re: TextDraw doesn't show - by NeXoR - 10.10.2016, 12:48
Re: TextDraw doesn't show - by Vince - 10.10.2016, 14:22
Re: TextDraw doesn't show - by NeXoR - 10.10.2016, 15:38

Forum Jump:


Users browsing this thread: 1 Guest(s)