Raised This Month: $ Target: $400
 0% 

bug registering fullupdate cmd ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-06-2007 , 05:50   bug registering fullupdate cmd ?
Reply With Quote #1

Hi,

When i register fullupdate cmd in a plugin, cvars or cmds that i register below seem to not exist.
Have you ever got the same problem or do i something wrong ?

ex :
This works fine
Code:
cvar = register_cvar("amx_cvar","1")     register_clcmd("say /test","cmdtest")     register_clcmd("fullupdate", "fullupdateCmd")

But with this code, cvar amx_cvar and cmd test don't exist !!!
Code:
    register_clcmd("fullupdate", "fullupdateCmd")     cvar = register_cvar("amx_cvar","1")     register_clcmd("say /test","cmdtest")


fullupdateCmd is :
Code:
public clcmd_fullupdate() {     return PLUGIN_HANDLED_MAIN }
ConnorMcLeod is offline
 


Thread Tools
Display Modes

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 16:02.


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