PlayAudioStreamForPlayer chat spam
#1

delete
Reply
#2

are you using a loop?
Reply
#3

Yes i'm using a loop
Reply
#4

Show us your code
Reply
#5

I got the same problem if i trying sendclientmessagetoall
Reply
#6

Try adding 'return 1;' after TextMessage(estring,fstring);
Reply
#7

You loop through all players and then send a message to everyone for each player.
It's like:

for player 1 a sendclientmessagetoall
for player 2 a sendclientmessagetoall
...

That's the reason for the spam. Just use SendClientMessage(i,COLOR,MESSAGE);
Reply
#8

But you can see i don't you sendclientmessagetoall or something... how i can fix my code? Thanks BornHuman i will try this..
Reply
#9

And where shall i know what "TextMessage" does?

Also a return 1 won't help here. You need to send to each player only a message.
Reply
#10

Yes Flori i tried. Spam problem is fixed but the music did not start now.. Look at the picture TextMessage it helps to write there..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)