Posts: 95
Threads: 10
Joined: Jun 2011
Reputation:
0
I have a problem, I've been trying to figure out the X Y Z Coordinate for the position of in-front of a player, any help would be much appreciated, thank you.
- Ki||
Posts: 95
Threads: 10
Joined: Jun 2011
Reputation:
0
Will this work for anything? - I have read the code, but don't understand how this will work with other objects.
Posts: 95
Threads: 10
Joined: Jun 2011
Reputation:
0
Uh- does the code work for objects, such as guns, for example, if I had a AK-47, and I did /dropgun, would it show in-front of me if I had this code implemented?
Posts: 308
Threads: 17
Joined: Mar 2010
Reputation:
0
Yes, it will work. For example in a /dropgun command, you would use GetXYPosInFrontOfPlayer to get the coords of the spot in front of them. Then create a pickup at that location.