I've gone to Hawk for help and GHW Chronic and they have both helped me a great deal and I can't keep going to them for help, but for some reason I can't get this script to work. Maybe someone else has the answer. Thanks.
Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
new rope
public plugin_init()
{
register_plugin("Rope Mod","1.00","[D]uMont")
register_concmd("say /rope","create_rope")
register_event("DeathMsg","event_DeathMsg","a")
}
public plugin_precache()
{
rope = precache_model("sprites/rope.spr")
}
public event_DeathMsg(id)
{
new idorigin[3], targetorigin[3]
new ent, body
get_user_origin(id,idorigin)
get_user_aiming(id,ent,body,9999)
message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
write_coord(idorigin[0])
write_coord(idorigin[1])
write_coord(idorigin[2])
write_coord(targetorigin[0])
write_coord(targetorigin[1])
write_coord(targetorigin[2])
write_short(rope)
write_byte(1) // framestart
write_byte(1) // framerate
write_byte(0) // life in 0.1's
write_byte(5) // width
write_byte(0) // noise
write_byte(255) // red
write_byte(0) // green
write_byte(0) // blue
write_byte(200) // brightness
write_byte(0) // speed
message_end()
}
* Note this is my first script.

*