Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include < amxmodx >
- new g_beacon
- public plugin_init ( ) register_clcmd( "say /circle", "DoCircles" )
- public plugin_precache ( ) g_beacon = precache_model ( "sprites/laserbeam.spr" )
- public DoCircles ( Index ) {
- new sz_origin[ 3 ]
- get_user_origin( Index, sz_origin )
- message_begin ( MSG_BROADCAST, SVC_TEMPENTITY )
- write_byte ( TE_BEAMTORUS )
- write_coord ( sz_origin [ 0 ] )
- write_coord ( sz_origin [ 1 ] )
- write_coord ( sz_origin [ 2 ] )
- write_coord ( sz_origin [ 0 ] )
- write_coord ( sz_origin [ 1 ] )
- write_coord ( sz_origin [ 2 ] + 1100 )
- write_short ( g_beacon )
- write_byte ( 0 )
- write_byte ( 0 )
- write_byte ( 2 )
- write_byte ( 35 )
- write_byte ( 0 )
- write_byte ( random_num( 0,255 ) )
- write_byte ( random_num( 0,255 ) )
- write_byte ( random_num( 0,255 ) )
- write_byte ( 650 )
- write_byte ( 0 )
- message_end ( )
- }
Advertisement
Add Comment
Please, Sign In to add comment