Calling custom classes
It doesn't work to calling custom classes
I can't compile it. Code:
Error: Invalid expression, assumed zero on line 19PHP Code:
PHP Code:
|
Re: Calling custom classes
PHP Code:
|
Re: Calling custom classes
Quote:
From the hamsandwhich.inc PHP Code:
|
Re: Calling custom classes
Class is BLOCK, then
PHP Code:
|
Re: Calling custom classes
Quote:
Check the hamsandwich.inc which i quoted on |
Re: Calling custom classes
You need to find the entity index first. It doesn't accept classnames
|
Re: Calling custom classes
show us how do you create that entity
|
Re: Calling custom classes
Quote:
I just know to create it and make it breakable etc.. |
Re: Calling custom classes
Quote:
PHP Code:
|
Re: Calling custom classes
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 |
| All times are GMT -4. The time now is 13:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.