SA-MP Forums Archive
Looting system help - 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: Looting system help (/showthread.php?tid=559857)



Looting system help - Supermaxultraswag - 25.01.2015

Hey. I checked this tutorial https://sampforum.blast.hk/showthread.php?tid=466964 but is there any other way to do looting system? For example I have 300 loot places, do I have to do if() condition for each of them? Or is there a faster and easier way?


Re: Looting system help - Sime30 - 25.01.2015

Well, you could use switch


Re: Looting system help - Supermaxultraswag - 25.01.2015

Quote:
Originally Posted by Sime30
Посмотреть сообщение
Well, you could use switch
Code example please


Re: Looting system help - Supermaxultraswag - 28.01.2015

beeem