Raised This Month: $ Target: $400
 0% 

*ATTENTION ADMINS* Please nuke thread. It's spam.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Huckleberry
Member
Join Date: Nov 2008
Old 11-04-2008 , 19:42   *ATTENTION ADMINS* Please nuke thread. It's spam.
Reply With Quote #1

Wow, post below just said it all. Thanks, you're a pal. If I am so bad at registering cvars, please teach me...
__________________

Blazenblood.com

Last edited by Huckleberry; 11-04-2008 at 20:19.
Huckleberry is offline
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 11-04-2008 , 20:02   Re: Cvar Tutorials...
Reply With Quote #2

That code is completely and absurdely wrong. You register a Cvar and don't use it. Also, creating a cvar does not create/use a public function with the same name. It's not how it works. You must check the cvars value when doing your plugin's actions. A direct cvar hook doesn't exist in AMX. Please learn to script before posting tutorials. You lead people in the wrong direction by trying to teach something you don't know.
__________________

Community / No support through PM
danielkza is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode