SA-MP Forums Archive
CreatePlayerObject - 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: CreatePlayerObject (/showthread.php?tid=361495)



CreatePlayerObject - TaLhA XIV - 21.07.2012

Hello!
I wanted help with CreatePlayerObject,I don't have any problem using it but I want to create the things at player Pos!
Thank you


Re: CreatePlayerObject - Stigg - 21.07.2012

Try:

https://sampwiki.blast.hk/wiki/AttachObjectToPlayer


Re: CreatePlayerObject - Devilxz97 - 21.07.2012

use MTA 1.3 or use SAMP Map Editor
to create an Object on your Spawn Place

MTA 1.3: http://mtavc.com/
Samp Map Editor: https://sampforum.blast.hk/showthread.php?tid=282801


Re: CreatePlayerObject - COSRP.CO.CC - 21.07.2012

Yeah why dont you use MTA map editor
((Get on skype i will tell you bout it -Rafay))


Re: CreatePlayerObject - TaLhA XIV - 21.07.2012

Hey I don't want to create object at my spawn place I want to Create Object at player pos like if I add a command like /block then a Block appears at my pos


Re: CreatePlayerObject - TaLhA XIV - 21.07.2012

Sorry for the double post but I wanted to say that the object spawns but it is still attached to the player,I want it to just spawn at the players pos but don't stay attached to it!Please help.


Re: CreatePlayerObject - MadeMan - 21.07.2012

pawn Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
CreatePlayerObject(playerid, , x, y, z, );



Re: CreatePlayerObject - Stigg - 21.07.2012

Use:

https://sampwiki.blast.hk/wiki/GetPlayerPos

Then use the X,Y,Z to set the object position.

EDIT: to slow.


Re: CreatePlayerObject - TaLhA XIV - 21.07.2012

Thanks