SA-MP Forums Archive
creating object every 5 meters - 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: creating object every 5 meters (/showthread.php?tid=485011)



creating object every 5 meters - romka - 02.01.2014

Hy!

How i can do this.Thanks!


Re: creating object every 5 meters - Crayder - 02.01.2014

new count;
for(new i=0; i<(How many you want.);i++)
{
count = count+5;
CreateObject(blah, x+count, y, z, blah blah blah...);
}


Sorry im in a hurry... Im on my phone, not home...


Re: creating object every 5 meters - Raza2013 - 02.01.2014

also tell him to do under OnGameModeInit


Re: creating object every 5 meters - romka - 02.01.2014

thanks guys !