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



Problem - StR_MaRy - 27.10.2014

Boys, I have all I need to put CreateDynamicObject but objects can not be seen on the map Why?

and if you put too many CreateObject
Grown the bushes when I use / my weed plant

WeedInfo [weed] [wPlantObject] = CreateObject (3409, X, Y, Z, 1.0, 0, 0, 0, 0);

But when I first CreateDynamicObject in gamemode

My: WeedInfo [weed] [wPlantObject] = CreateObject (3409, X, Y, Z, 1.0, 0, 0, 0, 0);
on fs apears

Why?


Re: Problem - SupaVZ - 27.10.2014

Put the map in "Gamemodeinit"


Re: Problem - Mic_H - 27.10.2014

If you add the CreateObject()s in OnFilterScriptInit in a Gamemode, it wont work.
As said by SupaVZ, put it inside GameModeInit().
Credits SupaVZ
Edit: Please show the code you added in GameMode if you did it right.


Re: Problem - StR_MaRy - 27.10.2014

is there...