View Single Post
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 02-08-2012 , 09:18   Re: SourceBans 1.4.9 (Updated 2011/11/18)
#2782

Quote:
Originally Posted by Peace-Maker View Post
In /includes/sb-callback.php search for
PHP Code:
$ret $r->rconCommand("sm_rehash"); 
and repeat that line with different commands ;)

aww awesome Peace.. so I just basically copied the same line right below that one and replaced the sm_rehash with sm_reloadscc

great!

Edit: Nope didn't work... I get this error in the server that user is in if I add them while they are in it which I have to unload and reload the simple-chat colors plugin to get it to work after that.

Quote:
21:12:14 L 02/08/2012 - 20:12:26: [SM] Native "CloseHandle" reported: Handle 38a7029d is invalid (error 1)
21:12:14 L 02/08/2012 - 20:12:26: [SM] Displaying call stack trace for plugin "simple-chatcolors.smx":
21:12:14 L 02/08/2012 - 20:12:26: [SM] [0] Line 180, C:\compiler\simple-chatcolors.sp::CheckPlayer()
21:12:14 L 02/08/2012 - 20:12:26: [SM] [1] Line 149, C:\compiler\simple-chatcolors.sp::Command_Reload()

Last edited by Horsedick; 02-08-2012 at 21:18.
Horsedick is offline