How to makeing Bonfires
#6

First create 3 floats, and use GetPlayerPos to store the player's coordinates in those floats.
pawn Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
CreateDynamicObject(objectid, x + 2, y, z ... );
Then to create the object, plus the x or y coordinate by around 2 - 3, which will create it a bit away from him, and not inside him.
Reply


Messages In This Thread
How to makeing Bonfires - by nooion345 - 05.03.2015, 09:43
AW: How to makeing Bonfires - by Kaliber - 05.03.2015, 09:50
Re: How to makeing Bonfires - by nooion345 - 05.03.2015, 10:33
AW: Re: How to makeing Bonfires - by Kaliber - 05.03.2015, 10:45
Re: How to makeing Bonfires - by nooion345 - 05.03.2015, 11:53
Re: How to makeing Bonfires - by CalvinC - 05.03.2015, 12:03

Forum Jump:


Users browsing this thread: 3 Guest(s)