Thread
:
CS AFK Manager
View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
09-05-2015 , 13:48 Re: CS AFK Manager
#
37
1.Don't split a plugin in two versions just for the color, make a cvar so people ca decide if they want to use colors or not(1.8.2 version). Also add the needed includes in your post(chatcolor/colorchat).
2.Since you have an 1.8.2 versions w/o colors, for me it make sense to have that for 1.8.3 too. So, just a cvar and decide how to print.
3.
PcvarLoopFrequency
should have the lower value as 1.0, not 0.1, it's not needed to check often than that.
4.Everything that is inside
if( bomb_receiver )
check should also be inside
if ( backpack > 0 && backpack != player ))
check. Why ? Becase if you get somehow an invalid entity your code failed and you should not print anything, nor retrieve names.
__________________
Last edited by HamletEagle; 09-05-2015 at
13:49
.
HamletEagle
View Public Profile
Send a private message to HamletEagle
Find More Posts by HamletEagle