Client Message Spams
#7

Quote:
Originally Posted by LEOTorres
Посмотреть сообщение
Use break; to disengage from the loop after you have sent the necessary message or if you need to loop other features continuously, place the messages outside of the loop.
He doesn't need to use break, all he needs to do is make the loop not happen unless he actually puts code in. Although, there are multiple places that this spam will occur, and it's not just for a fail, so in the end, he needs to revise his code overall.


The reason your code is spamming, is because the SendClientMessages for the player, are in the for loop. That's why.
Reply


Messages In This Thread
Client Message Spams - by LazzyBoy - 08.04.2017, 20:21
Re: Client Message Spams - by LEOTorres - 08.04.2017, 20:45
Re: Client Message Spams - by 1fret - 08.04.2017, 22:33
Re: Client Message Spams - by LazzyBoy - 08.04.2017, 22:51
Re: Client Message Spams - by DobbysGamertag - 08.04.2017, 23:11
Re: Client Message Spams - by LazzyBoy - 08.04.2017, 23:44
Re: Client Message Spams - by Sew_Sumi - 09.04.2017, 02:07

Forum Jump:


Users browsing this thread: 1 Guest(s)