problem +USE in ent
i'm trying when press E(+USE) in the entity "cosa" something happen, but dont work
PHP Code:
|
Re: problem +USE in ent
Register Ham_Use for "info_target" and then filter your classname there
|
Re: problem +USE in ent
Dunno if info_target is usable, but some other entity types can do the job.
|
Re: problem +USE in ent
Quote:
There's a lot of entities to play http://www.twhl.co.za/wiki.php?sub=1 |
Re: problem +USE in ent
Ok, i try with ham_use, and diferent entities, but the problem continues...
PHP Code:
PHP Code:
PHP Code:
|
Re: problem +USE in ent
Change info_target for func_button
If you change classname, Ham_Use will not be called for that entity. For test purposes I suggest to use FM_Use (register_forward) Then you can start using ham but before registerham you must be sure that you you have at least one entity with your new classname and then registerham using that classname and not func_button. |
Re: problem +USE in ent
Try something like this
PHP Code:
|
Re: problem +USE in ent
I'd use RegisterHamFromEntity & alter the entity's classname to func_button/cycler_sprite.
|
Re: problem +USE in ent
Quote:
|
Re: problem +USE in ent
frk, make it simple
With your code here 1- You can try with func_pushable too 2- ToqueLaCosa is wrong. The correct declaration of that function must be like this PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 07:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.