11.02.2014, 20:56
Sup guys, i want to make a command that drops the player weapon upon writing a CMD, but i find out that the weapon spawns in mid air and not in the desired location.
It spawns in the middle of the character, even though i wrote -0.5 in the player Y.
Can anyone tell me why is it not going lower?
Thanks in regards!
pawn Code:
new Float:PlayerX, Float:PlayerY, Float:PlayerZ;
GetPlayerPos(playerid);
CreateObject(344, PlayerX, PlayerY - 0.5, PlayerZ, 0, 0, 0);
Can anyone tell me why is it not going lower?
Thanks in regards!