View Single Post
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 11-10-2011 , 21:52   Re: [CS:S] Afk Bomb (Fixed 08-11-2011 update; still 1.4.1)
Reply With Quote #77

Quote:
Originally Posted by GrO View Post
I mean those extra TABs and NewLines in ConVars' section. As I said, I don't know, if it's important, but I thought it should look like this:

Code:
    g_afkBomb = CreateConVar( "afkbomb", "2", "How long will it takes before the afk drop the bomb, in seconds. 0 = disabled, 1+ = enabled. Def. 2.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 0.0 );
    g_afkBomb_addFreeze = CreateConVar( "afkbomb_freezetime", "0", "If mp_freezetime value is added to the time before bomb drop. 0 = no, 1 = yes. Def. 0.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 0.0, true, 1.0 );
    g_afkBomb_action = CreateConVar( "afkbomb_action", "1", "What to do when someone is considered afk. 1=Drop. 0=Give to random player (not recommended since it could be exploited). Def. 1.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 0.0, true, 1.0 );
    g_afkBomb_displayMsg = CreateConVar( "afkbomb_msg", "1", "Notify team when bomb is dropped (afkbomb_action=1) / Notify everyone when bomb is given to a random terrorist (afkbomb_action=0 ). 0 = no, 1 = yes. Def. 1.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 0.0, true, 1.0 );
    g_afkBomb_lateCheckNumber = CreateConVar( "afkbomb_latecheck", "2", "Number of latechecks to do before dropping the bomb. 0 = disabled. Def. 2.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 0.0 );
    g_afkBomb_lateCheckDelay = CreateConVar( "afkbomb_latecheckdelay", "5.0", "Time between 2 latechecks to drop the bomb, in seconds. Min. 1. Def. 5.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 1.0 );
ugh... format it if you like; that doesn't change anything...
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline