AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Why can't I do this? (https://forums.alliedmods.net/showthread.php?t=22798)

DotNetJunkie 01-04-2006 05:25

Why can't I do this?
 
Could someone give me some sample code to make a sprite in AMXX?
I tried to make a sprite (env_sprite) with create_entity however if I should use remove_entity
then sometimes the sprite itself doesn't get deleted, in fact even the ones
that do get deleted I don't think really did because they still show up in the
list when you type "entities" in console.

Also how can I make my sprite entity get picked up by get_user_aiming?

Any ideas? Thanks!

Charr 01-04-2006 08:29

Maybe you can try making an invisible entity, and hten using temp-ent message to create a sprite over it

DotNetJunkie 01-04-2006 10:43

Quote:

Originally Posted by Charr
Maybe you can try making an invisible entity, and hten using temp-ent message to create a sprite over it

The sprite has to be animated though, will the temp-ent message do this?


All times are GMT -4. The time now is 15:55.

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