View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-16-2018 , 05:27   Re: [L4D2] Helms Deep Sourcemod Enabler
#5

Good job, the alternative method I was telling people to hex edit and replace the code with spaces.


Mix of old and new syntax and remove the .SMX it's not required since the plugin compiles on the forum when you click 'Get Plugin').

and what's this about?
PHP Code:
if (strcmp(sArgs"!donator"false) == 0
Something for your personal server? You should use command listener and to listen to sm_donator and not checking for /donator or !donator strings.

Right now ANYONE can join and type !donator to be given items, as many times as they want. Please keep this off the public release since it's totally unrelated to what this plugin is doing.

You don't need to CreateEntity to give the items, just use the function GivePlayerItem.
__________________

Last edited by Silvers; 10-16-2018 at 05:32.
Silvers is offline