Quote:
Originally Posted by HamletEagle
Go where you want the c4 to be and retrieve your origin.
|
edit: I missed a "-" its working now.
I used the function above to get my origin in T spawn on de_dust2.
I then successfully spawned a c4 at this location.
I then got my origin while standing in the middle of the bomb site B (on flat ground).
And then tried to spawn a c4 the same way..
It spawned a bomb, somewhere.. But not at this location, what am I doing wrong?
T spawn origin: (working)
origin[0] = -648.065186
origin[1] = -808.345093
origin[2] = 164.031250
B site origin: (not working)
origin[0] = 1360.031250
origin[1] = 2575.968750
origin[2] = 47.417095
__________________