View Single Post
Alienmario
Senior Member
Join Date: Aug 2013
Old 05-23-2015 , 13:22   Re: [ANY] SoundCloud
Reply With Quote #15

Edit: replace || with &&

Both should work. Aren't you doing anything else wrong? Perhaps any console errors?

Basically, just copy OnScAll function twice, rename it and add the team specific check above.
Then, in OnPluginStart you duplicate line starting RegAdminCmd("sm_scall", OnScAll,... twice and change the command name and the function name for your new functions like this RegAdminCmd("sm_scsurv", OnScSurv

Last edited by Alienmario; 05-23-2015 at 13:26.
Alienmario is offline