Thread
:
Jarate On Death
View Single Post
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
11-09-2011 , 00:44 Re: Jarate On Death
#
2
A few issues with your plugin if you want it approved:
in your "has" global, use the MAXPLAYERS define, don't hardcode the value at 33.
You don't need to use GetClientName. Please review
This Page
.
You should use ProcessTargetString, not FindTarget. Please review
This Page
.
Don't use GetMaxClients(), just use the MaxClients define.
Some extra nitpicks:
You might want to add a version cvar so you can see what servers run your plugin.
You can leave the plugin description and url blank rather then putting filler there.
Your if statement on lines 34/35 is kind of odd.
You should emit the sound from a location otherwise it will play to every player in the server even if they're nowhere around. See
EmitSoundToAll
for info.
__________________
[TF2 Stats] Web Ranking and Item Logger
|
[Any] Deluxe Godmode
[Any] Classy Crash Logger
|
[TF2] Broken Bottle Bleed
|
[TF2] Fancy Fire Arrows
[Any] Command Dumper
|
[TF2] Automatic Demoman Detonation
Use my plugins and want to say thanks?
Donate!
DarthNinja
View Public Profile
Send a private message to DarthNinja
Find More Posts by DarthNinja