Raised This Month: $ Target: $400
 0% 

Origin help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DiscoBBQ
Veteran Member
Join Date: Jan 2005
Location: Clemson, South Carolina
Old 03-14-2005 , 20:29   Origin help
Reply With Quote #1

Ok well. For my server i made an inventory mod
and theres likea few 'rare items' that im adding.
one is a teleport necklas.
I want it so when you type the cmd i want it to set you 200 coords infront of the direction your facing.
Right now it just sets you 200 coords in one dirrection in which you cannot change. Help + example maybe?
Thanks,
Pinkfairie

This is what i use now, but only in one direction. NOT where you point...

Quote:
new origin[3];
get_user_origin(id,origin);
origin[1] += 200;
set_user_origin(id,origin);
__________________
"Every man is guilty of all the good he did not do"
DiscoBBQ is offline
 


Thread Tools
Display Modes

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 14:17.


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