Raised This Month: $ Target: $400
 0% 

Solved TE_WORLDDECAL blood ? btw (win | linux )


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 01-27-2017 , 11:53   TE_WORLDDECAL blood ? btw (win | linux )
Reply With Quote #1

Hi !
i have problem in this MSG (TE_WORLDDECAL) when i hook it in FM_EmitSound.. i get the msg in windows when i tested it but in linux i see numbers ?
PHP Code:
                new aim[3], position[3];
                
get_user_origin(entityaim3); get_user_origin(entityposition0)
                if(
get_distance(aimposition) < 50)
                {
                    
message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
                    
write_byte(TE_WORLDDECAL)
                    
write_coord(aim[0])
                    
write_coord(aim[1])
                    
write_coord(aim[2])
                    
write_byte(random_num(2740))
                    
//write_byte(g_Blood_Decal_Wad[random_num(0, sizeof g_Blood_Decal_Wad -1)])
                    
message_end()
                }
                return 
FMRES_SUPERCEDE
1) in windwos
2) in linux
Attached Images
File Type: jpg win.JPG (14.9 KB, 189 views)
File Type: jpg linux.JPG (14.7 KB, 179 views)
__________________

Last edited by abdobiskra; 01-28-2017 at 10:39.
abdobiskra is offline
Send a message via Skype™ to abdobiskra
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:45.


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