18.06.2011, 22:53
Hey guys,
I need some help;
I'd like to make a command which ports me like 10 metres in front of me.
So normally it would be sth like that:
SetPlayerPos(id, x+10, y, z) or y+10 ... but that just ports you along the x- or y-coordinates, not 10 metres the way being viewed.
So how can I make the command porting the player 10 metres from his angle?
Thank you very much in advande - TehEbil.
I need some help;
I'd like to make a command which ports me like 10 metres in front of me.
So normally it would be sth like that:
SetPlayerPos(id, x+10, y, z) or y+10 ... but that just ports you along the x- or y-coordinates, not 10 metres the way being viewed.
So how can I make the command porting the player 10 metres from his angle?
Thank you very much in advande - TehEbil.