View Single Post
Daastan2k
New Member
Join Date: Apr 2021
Old 04-28-2021 , 04:37   Re: sourcemod commands not working after adding them through rcon
Reply With Quote #3

Quote:
Originally Posted by FAQU View Post
Open up the movecommands.sp file, and look at line 1519.

It should look like this:

PHP Code:
if(!IsClientValid(client) || !IsClientValid(target)) 
Modify it to this and recompile:
PHP Code:
if(!IsClientValid(target)) 
Executing sm_exchange from rcon should work fine afterwards.
For now I re-installed sourcemod and metamod and tried out a different plugin and it worked. But I will definately give this a try.
Daastan2k is offline