[Tutorial] Adding quick anti-spam timers
#8

Quote:
Originally Posted by Vince
View Post
You obviously didn't test it. You want to know how I did see that? This:
pawn Code:
SendClientMessageToAll(-1, text);
How should the players ever know who sent that particular text? No name is sent.
Using Pvars is also almost never the quickest way to do something. Ordinary variables are a lot faster.
1. That doesn't necessarily matter, this was to show how to do it.
2. Same as #1, I was just using this example to show to players how to use the Anti-Spam
3. I wasn't going by efficiency, I was going on time and effort to create it. I know PVars are slower, however sometimes people don't like scrolling to the top of their script, creating a new variable, scrolling down to OnPlayerConnect, zero'ing the variable, and then using it. For time, it's easier to use PVars.
Reply


Messages In This Thread
Adding quick anti-spam timers - by Antonio [G-RP] - 31.03.2011, 02:57
Re: Adding quick anti-spam timers - by BASITJALIL - 31.03.2011, 03:03
Re: Adding quick anti-spam timers - by Antonio [G-RP] - 31.03.2011, 04:14
Re: Adding quick anti-spam timers - by -Rebel Son- - 31.03.2011, 06:10
Re: Adding quick anti-spam timers - by Medal Of Honor team - 31.03.2011, 07:44
Re: Adding quick anti-spam timers - by Scratch - 31.03.2011, 18:09
Re: Adding quick anti-spam timers - by Vince - 31.03.2011, 18:31
Re: Adding quick anti-spam timers - by Antonio [G-RP] - 31.03.2011, 20:12
Re: Adding quick anti-spam timers - by -Rebel Son- - 01.04.2011, 18:54
Re: Adding quick anti-spam timers - by sciman001 - 02.04.2011, 01:12
Re: Adding quick anti-spam timers - by Venice - 03.04.2011, 22:54
Re: Adding quick anti-spam timers - by Champ - 21.08.2012, 14:32

Forum Jump:


Users browsing this thread: 2 Guest(s)