Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Beamme"
#define VERSION "1.0"
#define AUTHOR "Dutchie"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_cmd(say("/beamme" "Beamme" "chatsay"
message_begin( MSG_BROADCAST, SVC_TEMPENTITY)
write_byte(0) // TE_BEAMPOINTS
write_coord(startloc[0])
write_coord(startloc[1])
write_coord(startloc[2]) // start location
write_coord(endloc[0])
write_coord(endloc[1])
write_coord(endloc[2]) // end location
write_short(spritename) // spritename
write_byte(startframe) // start frame
write_byte(framerate) // framerate
write_byte(life) // life
write_byte(width) // line width
write_byte(amplitude) // amplitude
write_byte(255)
write_byte(255)
write_byte(255) // color
write_byte(brightness) // brightness
write_byte(speed) // speed
message_end ()
}
Yeah, I'm, farly new to coding, don't ask I know it's sloppy.
__________________