Raised This Month: $ Target: $400
 0% 

i don't understanding get_user_origin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Crazywelder1
Member
Join Date: Mar 2004
Location: CA
Old 02-08-2005 , 19:56   i don't understanding get_user_origin
Reply With Quote #1

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
Crazywelder1 is offline
Send a message via MSN to Crazywelder1
 



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 19:27.


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