function GameConnection::unMute(%this){ $Mute[%victim.BL_ID] = false; MessageClient(%victim, '', "\c6You are now unmuted");}
Code: [Select]function GameConnection::unMute(%this){ %this.BL_ID = %victim.BL_ID; $Mute[%victim.BL_ID] = false; MessageClient(%victim, '', "\c6You are now unmuted");}
function GameConnection::unMute(%this){ %this.BL_ID = %victim.BL_ID; $Mute[%victim.BL_ID] = false; MessageClient(%victim, '', "\c6You are now unmuted");}
It will work, you suck at coding if you dont understand it.
function GameConnection::unMute(%this){ $Mute[%this.BL_ID] = false; MessageClient(%this, '', "\c6You are now unmuted");}
function GameConnection::unMute(%this, %victum){ $Mute[%victim.BL_ID] = false; MessageClient(%victim, '', "\c6You are now unmuted");}
it won't work, i think you suck at coding for saying other people suck at coding for pointing out your errors
thatalso, you're backwards FFSO%this.BL_ID = %victim.BL_ID; should be %victim.BL_ID = %this.BL_ID;
So, I just replace %victim.BL_ID with %this.BL_ID, correct?
it won't work, i think you suck at coding for saying other people suck at coding for pointing out your errorsit should be
You just made the biggest richard out of yourself.No it shouldn't, like already mentioned %victim doesn't exist. Not to mention there is absolutely no reason why you should be setting the bl_id property and it won't even work, it's protected by the engine.
Code: [Select]function GameConnection::unMute(%this){ $Mute[%this.BL_ID] = false; MessageClient(%this, '', "\c6You are now unmuted");}obviously replace %victim with %this