[Question] Quick help is needed :)
#1

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.

pawn Code:
new Float:PlayerX, Float:PlayerY, Float:PlayerZ;
GetPlayerPos(playerid);
CreateObject(344, PlayerX, PlayerY - 0.5, PlayerZ, 0, 0, 0);
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!
Reply


Messages In This Thread
[Question] Quick help is needed :) - by $Marco$ - 11.02.2014, 20:56
Re: [Question] Quick help is needed :) - by anou1 - 11.02.2014, 21:02
Re: [Question] Quick help is needed :) - by $Marco$ - 11.02.2014, 21:03
Re: [Question] Quick help is needed :) - by Shockey HD - 11.02.2014, 21:03
Re: [Question] Quick help is needed :) - by anou1 - 11.02.2014, 21:05
Re: [Question] Quick help is needed :) - by $Marco$ - 11.02.2014, 21:12

Forum Jump:


Users browsing this thread: 1 Guest(s)