[Help] Change Map Entity
Well, i got a map from CSO.
But the problem is: Round 1: The main door auto break so player can move out from the room But from Round 2 until.... The main door doesn't auto break. -> Player can't move out and stuck in the room My friend said: "we need to change trigger_once to trigger_multiple". So how to change with amxx ? I tried and nothing. Here is my code: PHP Code:
|
Re: [Help] Change Map Entity
Maybe using, pev and set_pev ? with pev_classname :O
|
Re: [Help] Change Map Entity
i tried and nothing..
|
Re: [Help] Change Map Entity
I really don't know, but maybe you can delete it, and make new entity have the same origin, size ... of it
Code:
#include < amxmodx > |
Re: [Help] Change Map Entity
Changing the entity's classname should work but you woud need to hook spawn in plugin precache.
|
Re: [Help] Change Map Entity
if you create trigger entity then its need:
target; if player touch, then which entity will be triggered model; this is for hull, because without model or mins/maxs you cant touch it you can copy those from trigger_once |
Re: [Help] Change Map Entity
So we can do like DeagLe.Studio did in the Post #4 ?
|
Re: [Help] Change Map Entity
Ok. Now i got a new problem. The door exploses continously... (even round 1)
Here is my code. Is there anything wrong ? PHP Code:
|
Re: [Help] Change Map Entity
Quote:
Code:
engfunc(EngFunc_RemoveEntity, ent) |
Re: [Help] Change Map Entity
^
- No need. You returned FMRES_SUPERCEDE -> Entity removed |
| All times are GMT -4. The time now is 16:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.