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);
|
__________________