AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   TE_WORLDDECAL not working (https://forums.alliedmods.net/showthread.php?t=172275)

tuty 11-18-2011 08:03

TE_WORLDDECAL not working
 
Hi, i would ask for experienced hl monsters [like arkshine or connormcleod]

i tried with MSG_PAS, MSG_PVS, and MSG_BROADCAST on this stock, when a player die, to make a scorch2} decal... but doesnt appear the damn decal on ground


PHP Code:

gDecalExplosion engfuncEngFunc_DecalIndex"{scorch2" );


stock UTIL_WorldDecaliOrigin], iDecal )
{
    
message_beginMSG_BROADCASTSVC_TEMPENTITY );
    
write_byteTE_WORLDDECAL );
    
write_coordiOrigin] );
    
write_coordiOrigin] );
    
write_coordiOrigin] );
    
write_byteiDecal );
    
message_end( );


used as :arrow:

PHP Code:

UTIL_WorldDecaliOrigingDecalExplosion 

any help?

Arkshine 11-18-2011 10:08

Re: TE_WORLDDECAL not working
 
Make sure gDecalExplosion holds a value.
Make sure iOrigin is correct.


All times are GMT -4. The time now is 08:32.

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