SA-MP Forums Archive
Help with furniture - 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: Help with furniture (/showthread.php?tid=652355)



Help with furniture - Nru - 08.04.2018

I would like to make a system that gets me the object id right after the previous one for example

19814,19815,19825,19826,19827,19828,19829,19830,19 831,19873,19874,19878

The object is now 19814 when I type /next it turns into 19815 any ideas ?


Re: Help with furniture - zookyy - 08.04.2018

You could put all those ID's into an array and create a loop to access each index.