SA-MP Forums Archive
[HELP]Drop Beside - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]Drop Beside (/showthread.php?tid=367043)



[HELP]Drop Beside - kbalor - 08.08.2012

So after doing /jp - for jetpack spawn. After I do F key to drop, it drops in the position im standing thats why im still picking it up. How do I drop it besides me but not in the same position?

Код:
CMD:jp(playerid, params [])
{
	SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);
	return GameTextForPlayer(playerid, "~y~Jetpack", 2000,1);
}



Re: [HELP]Drop Beside - [KHK]Khalid - 08.08.2012

pawn Код:
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);



Re: [HELP]Drop Beside - kbalor - 08.08.2012

Quote:
Originally Posted by HellSphinX
Посмотреть сообщение
pawn Код:
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
+rep