SA-MP Forums Archive
How to makeing Bonfires - 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 makeing Bonfires (/showthread.php?tid=566328)



How to makeing Bonfires - nooion345 - 05.03.2015

How to makeing Bonfires


AW: How to makeing Bonfires - Kaliber - 05.03.2015

Quote:
Originally Posted by nooion345
Посмотреть сообщение
How to makeing Bonfires
Just use Create(Dynamic)Object...and the modelid is: 18689

Greekz


Re: How to makeing Bonfires - nooion345 - 05.03.2015

Do you have a tutorial thank you.


AW: Re: How to makeing Bonfires - Kaliber - 05.03.2015

Quote:
Originally Posted by nooion345
Посмотреть сообщение
Do you have a tutorial thank you.
Do you know what a wiki is?

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


Re: How to makeing Bonfires - nooion345 - 05.03.2015

system cmd Bonfires

A fire started in the front.


Re: How to makeing Bonfires - CalvinC - 05.03.2015

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.