Raised This Month: $ Target: $400
 0% 

[ANY EXAMPLE OF TE_BUBBLETRAIL] !!!!!!!!!!!!!!!!!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 07-28-2011 , 07:28   Re: [ANY EXAMPLE OF TE_BUBBLETRAIL] !!!!!!!!!!!!!!!!!
Reply With Quote #1

If you can't find working example, then make one yourself. It's so freaking simple.
PHP Code:
#include <amxmodx>

new g_sprite
new o1[3], o2[3]

public 
plugin_init(){
    
register_plugin("test""1.0""Sylwester")
    
register_clcmd("test1""test1")
    
register_clcmd("test2""test2")
    
register_clcmd("test3""test3")
}

public 
plugin_precache(){
    
g_sprite precache_model("sprites/laserbeam.spr")
}

public 
test1(id){
    
get_user_origin(ido1)
}

public 
test2(id){
    
get_user_origin(ido2)
}

public 
test3(id){
    
message_begin(MSG_BROADCAST ,SVC_TEMPENTITY//message begin
    
write_byte(TE_BUBBLETRAIL)
    
write_coord(o1[0]) // min start position
    
write_coord(o1[1])
    
write_coord(o1[2])
    
write_coord(o2[0]) // max start position
    
write_coord(o2[1])
    
write_coord(o2[2])
    
write_coord(50// float height
    
write_short(g_sprite// model index
    
write_byte(40// count
    
write_coord(1// speed
    
message_end()

__________________
Impossible is Nothing
Sylwester is offline
Reply



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 00:46.


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