View Single Post
midnight9
Senior Member
Join Date: Nov 2012
Old 05-23-2015 , 12:52   Re: [ANY] SoundCloud
Reply With Quote #14

Hi, Many thanks for this plugin! Is it possible to add admin commands to play song for infected and survivors team (something like !scinf and !scsurv? This would be for L4D2, i've tried adding it myself but im not a coder so i was just messing with it hoping i will get it but no luck. I've tried adding something like this:

PHP Code:
if(IsClientInGame(i) || GetClientTeam(i) == TEAM_SURVIVOR){ 
and also
PHP Code:
 if(IsClientInGame(i) || IS_SURVIVOR(i)){ 
But neither of this worked, any tips

Last edited by midnight9; 05-26-2015 at 12:20.
midnight9 is offline