View Single Post
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 10-16-2018 , 08:03   Re: [L4D2] Helms Deep Sourcemod Enabler
#6

Quote:
Originally Posted by Silvers View Post
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.
LOL

THAT is probably one of the reasons why the authors don't want SM to run with the map. They won't get anymore donations if people just use SM to give players all the custom melee weapons when they type "!donator"!

I can see why this guy used a command listener for it. xD
__________________
Psyk0tik is offline