Raised This Month: $ Target: $400
 0% 

Calling custom classes


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
baneado
Veteran Member
Join Date: Dec 2012
Location: amxmodx-es.com
Old 07-28-2014 , 16:07   Re: Calling custom classes
Reply With Quote #10

you must change the BLOCK on RegisterHam by "info_target" and then check if the classname of the entity is BLOCK inside the function.

I see you change BLOCK per g_block_classname, so use that constant

ohh and change RegisterHamFromEntity by only RegisterHam

Last edited by baneado; 07-28-2014 at 16:14.
baneado is offline
 



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 13:09.


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