okay my problem is that i want to use get_user_origin so i can have a bolt of lightning hit the person.. and at this point i get one error and one warning
one: error 029: invaild expression,assumed zero (on the line get_user_origin)
second: warning 225: unreachable code (same thing)
here is some of the code the section i am have problems with..
Code:
new origin[33][3]
get_user_origin(id,origin[id])
message_begin(MSG_ALL,SVC_TEMPENTITY)
write_byte(7) // number of tempevent
write_coord(origin[id][0]) // x coord
write_coord(origin[id][1]) // y coord
write_coord(origin[id][2]) // z coord
write_coord(origin[id][0]) // x2 coord
write_coord(origin[id][1]) // y2 coord
write_coord(origin[id][2]) + 10 // z2 coord
write_byte(2) // life
write_byte(5) // width
write_byte(5) // amplitude
write_short(light) // sprite index
message_end()
ty for your time!!! extremely aprreciated