Stopping Server From Spam
#1

Look, I tried to do on my gamemode that when someone's gets near a house it sends him message with house price details, it works, but it spamming me over and over the same message, is there any way to stop it ?
thanks.
Reply
#2

Why not making a 3D Text label in each house?
It'll be more simple, you can evem use Incognito's streamer plugin for a 3D Text label.
More easier, cooler, better, and NOT spamming, lol.
Reply
#3

Keep a variable that sets to 1 when he views the house and every 30 seconds gets set back to 0. Then in the House Timer, check if the variable is 0 and only then, send him the details.
Reply
#4

Quote:
Originally Posted by Krx17
Посмотреть сообщение
Keep a variable that sets to 1 when he views the house and every 30 seconds gets set back to 0. Then in the House Timer, check if the variable is 0 and only then, send him the details.
Not recommended, there are a lot of better option to do instead of making a SendClientMessage.
Reply
#5

His current system uses SendClientMessage, I gave him a way to use that system so he wouldn't have to rewrite it, although I'm pretty sure it's Godfather.
Reply
#6

No.. It's from scratch.
Reply
#7

If you don't want to rewrite your system, use my method. If you feel you can rewrite it, use the 3d text labels.
Reply
#8

Quote:
Originally Posted by Krx17
Посмотреть сообщение
If you don't want to rewrite your system, use my method. If you feel you can rewrite it, use the 3d text labels.
+1

@yanir3;
Krx17's method is good. However, it's better for you rewrite it and make the 3d text labels.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)