OnPlayerText 1 problem
#7

Quote:
Originally Posted by RxErT
Посмотреть сообщение
Dude you're lazy asf!

I already answered you in your older post but you aren't taking look at it and your just making new thread that contains the same problem...


Btw you've got to use Loop:

PHP код:
                    for(new 0MAX_PLAYERSi++) 
                    { 
                    if(
gangData[i][gangID] == 5
                    { 
                        
format(tagsizeof(tag),"{%s}[BL]%s(%i): {FFFFFF}%s"colorplayerData[playerid][playerNamee], playeridtext); 
                    } 
                    else 
                    { 
                        
format(tagsizeof(tag),"{%s}%s(%i): {FFFFFF}%s"colorplayerData[playerid][playerNamee], playeridtext); 
                    } 
                    
SendClientMessageToAll(COLOR_WHITEtag); 
                    } 
Wait, What? Why a loop there? OnPlayerText is called per player already.. you dont have to add any loop there.
Reply


Messages In This Thread
OnPlayerText 1 problem - by TheBeastKhan - 30.05.2018, 15:52
Re: OnPlayerText 1 problem - by TheBeastKhan - 30.05.2018, 16:44
Re: OnPlayerText 1 problem - by GTLS - 30.05.2018, 17:05
Re: OnPlayerText 1 problem - by TheBeastKhan - 30.05.2018, 17:08
Re: OnPlayerText 1 problem - by GTLS - 30.05.2018, 17:29
Re: OnPlayerText 1 problem - by RxErT - 30.05.2018, 18:12
Re: OnPlayerText 1 problem - by GTLS - 31.05.2018, 06:21
Re: OnPlayerText 1 problem - by TheBeastKhan - 31.05.2018, 15:27
Re: OnPlayerText 1 problem - by GTLS - 01.06.2018, 08:48
Re: OnPlayerText 1 problem - by Sew_Sumi - 01.06.2018, 09:25

Forum Jump:


Users browsing this thread: 2 Guest(s)