AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Sprite over entity ? (https://forums.alliedmods.net/showthread.php?t=223463)

waza123a 08-13-2013 22:02

Sprite over entity ?
 
I have a object in game, entity.

How to create a sprite over it ?

this is not working, server crash
Code:

engfunc( EngFunc_SetModel, MY_ENTITY, MY_SPRITE)

Xellath 08-14-2013 06:51

Re: Sprite over entity ?
 
Make sure the model/sprite is precached.

If you want the sprite to follow your entity you can assign its pev_aiment to the owner entity. Note that pev_movetype has to be MOVETYPE_FLY.

For reference: http://forums.alliedmods.net/showthread.php?t=171364


All times are GMT -4. The time now is 16:53.

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