Thread: Random C4 Timer
View Single Post
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 08-01-2006 , 09:12   Re: Random C4 Timer
Reply With Quote #7

I strongly suggest you change the name of your CVARS.
Code:
    maxTime = register_cvar("amx_maxtime","35",FCVAR_UNLOGGED);     minTime = register_cvar("amx_mintime","15",FCVAR_UNLOGGED);     anoun = register_cvar("amx_anouncec4","1",FCVAR_UNLOGGED);
Generally speaking, your CVARS should not be prefaced with "amx". They should be prefaced with the short name for your plugin. In your case, I guess that might be "rc4". You might also want to spell "announce" correctly unless you're misspelling it on purpose.

You should also store the original mp_c4timer value and then restore it when your plugin ends. Let me know if I need to explain why.
__________________
Brad is offline