09.08.2014, 16:20
Quote:
What code are you talkin about? All the problem is: i can't control the facing angle of the player to create an object in front of him with the correct object's rotations.
It worked after i subtract 1 from the float X and Y but when the player is looking at north or south, the object is created behind the player. Edit: @Mionee should i use this under the command with getting the player's floats first? |
pawn Код:
new Float: pX, Float: pY, Float: pZ;
GetPlayerPos(playerid, X, Y, Z);
GetXYInfrontOfPlayer(playerid, X, Y, 5.0);