Raised This Month: $ Target: $400
 0% 

unregister_clcmd


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
John6000
Junior Member
Join Date: Nov 2006
Old 01-19-2007 , 17:57   Re: unregister_clcmd
Reply With Quote #1

i've looked at it again and it seems the second time on registering a clcmd it ignores it, it only lisens to the register_clcmd the 1st time, perhaps a amxx bug?
John6000 is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 01-19-2007 , 18:03   Re: unregister_clcmd
Reply With Quote #2

Nawh, seems pretty logical, if the command allready exist it probably wont overwrite it.

Just make a global/cvar check on the beginning of that function if (c)var is 1 continue with func. if not, return.
[ --<-@ ] Black Rose 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:20.


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