SA-MP Forums Archive
HOW TO CREATE AN OBJECT NEAR MY PLAYER - 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: HOW TO CREATE AN OBJECT NEAR MY PLAYER (/showthread.php?tid=514198)



HOW TO CREATE AN OBJECT NEAR MY PLAYER - DIVESHSEET - 20.05.2014

HOW TO CREATE AN OBJECT NEAR MY PLAYER?

CreateObject(1225,?,?,?,?,?,?,);


Re: HOW TO CREATE AN OBJECT NEAR MY PLAYER - Konstantinos - 20.05.2014

https://sampwiki.blast.hk/wiki/Function:GetPlayerPos
http://forum.sa-mp.com/showpost.php?...24&postcount=2


Re: HOW TO CREATE AN OBJECT NEAR MY PLAYER - Diverse - 20.05.2014

I suppose you're trying to use this as part of a command so :

pawn Код:
new Float:px, Float:py, Float:pz;
GetPlayerPos(playerid, px, py, pz);
CreateObject(1225, px, py, pz, 0.0, 0.0, 0.0, 300.0); // Draw distance limit = 300.
Further information : https://sampwiki.blast.hk/wiki/CreateObject


Re: HOW TO CREATE AN OBJECT NEAR MY PLAYER - DIVESHSEET - 23.05.2014

THANKS MANS ! +++++++REP