AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Message TE_EXPLOSION dont work. (https://forums.alliedmods.net/showthread.php?t=170575)

.Dare Devil. 10-26-2011 16:43

Message TE_EXPLOSION dont work.
 
Hi,
What i did wrong here?



PHP Code:

message_begin(MSG_PVSSVC_TEMPENTITYorigin)
 
write_byte(TE_EXPLOSION)
 
write_coord(origin[0]) // origin x
 
write_coord(origin[1]) // origin y
 
write_coord(origin[2] + 75// origin z
 
write_short(g_fireexpSpr2)
 
write_byte(22)
 
write_byte(35)
 
write_byte(TE_EXPLFLAG_NOSOUND)
 
message_end() 

g_fireexpSpr2 = tested and working, no sprite missing or something


Is that possible i have too many messages on one public ?
Its very stange.


Thanks for reading.

Arkshine 10-26-2011 19:45

Re: Message TE_EXPLOSION dont work.
 
You don't explain how you have tested it. It could be a wrong origin or you were not in the PVS of the origin.


All times are GMT -4. The time now is 14:27.

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