AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   TE_MODEL message as entity? (https://forums.alliedmods.net/showthread.php?t=213388)

bibu 04-14-2013 07:04

TE_MODEL message as entity?
 
Is it possible to have SVC_TEMPENTITY messages or any kind of them as entity?

PHP Code:

    /* something like that ?!
    new iEnt =*/ 
message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
    
write_byte(106)
    
write_coord(vec[0])
    
write_coord(vec[1])
    
write_coord(vec[2] + 20)
    
write_coord(velocityvec[0])
    
write_coord(velocityvec[1])
    
write_coord(velocityvec[2] + 100)
    
write_angle(0)
    
write_short(mdlWbottle)
    
write_byte(2)
    
write_byte(255)
    
message_end() 


Arkshine 04-14-2013 07:13

Re: TE_MODEL message as entity?
 
SVC_TEMPENTITY is already entities, more specifically temporary entities handled on the client. So, obvisouly you can't, something handled completely differently. You can try to play with entities name func_, env_ and such.


All times are GMT -4. The time now is 10:49.

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