[Solved]Removing all spawned Entitys[can be closed]
Hi.
Ok a new Question again. I created several Entitys and i made an command to remove them, BUT always the last created entity gets removed the other ones cannot be removed. How can it be done that i can removed them all entity by entity or all at once ? Code:
That im using to remove the entity |
when you make the entities give them a specific classname that you can find later.
ex: Code:
entity_set_string(NewEnt, EV_SZ_classname, "lud_missile")Code:
new iCurrent |
heh Thx it works fantastico ^^.
I have an other question now^^ HOW can i make it so that the Entity that i spawned look in the direction where i looked at when spawning it ? cause every Model i spawn look into 1 direction no matter where i look at. |
entity_set_vector( ent, EV_VEC_angles, angles );
|
Hmm can you show me an working snippet of that ?
|
|
hmm i got it now to lock at other directions but HOW can i make it so it looks at the dircetion i am looking ?
each spawned entitymodel should look at different durections when i spawn them. Code:
this is what i have now. |
Quote:
|
| All times are GMT -4. The time now is 16:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.