Raised This Month: $ Target: $400
 0% 

Hook "drawradar"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 12-11-2007 , 07:48   Hook "drawradar"
Reply With Quote #1

Could anyone help me to hook client console command "drawradar"? What i need exactly to restrict radar using "hideradar" on client instead of "drawradar" called by him in console. "register_clcmd" doesn't work, so i think it should be made by "register_forward"... Please, help anyone with end-code.
__________________
draft is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-11-2007 , 08:57   Re: Hook "drawradar"
Reply With Quote #2

Did you try to block Radar msg ?
http://wiki.amxmodx.org/index.php/Ha...e_Events#Radar
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 12-11-2007 , 19:02   Re: Hook "drawradar"
Reply With Quote #3

This one works only when i use hideradar or drawradar executing it on client console by plugin. But i need to restrict radar from manual switching (when user writes in console "drawradar")
__________________
draft 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 16:13.


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