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



Unlimited amount? - iBots - 01.02.2018

Since there are no dynamic arrays in pawn, how is it possible to allow players to own unlimited amount of vehicles?even if i save the owner stuff in the vehicle's array, i wont be able to place his vehicles in an array that helps me find his vehicles easily instead of looping through all the vehicles and matching his info with the vehicles's owner info, is there any other way to do that?


Re: Unlimited amount? - iBots - 01.02.2018

I have searched but haven't figured out how the usage of it would be...could u explain a little about it and how to use it?


Re: Unlimited amount? - Whillyrez - 02.02.2018

here


Re: Unlimited amount? - jasperschellekens - 02.02.2018

Well at first you shouldnt save vehicles in arrays.
Make an enum and and save them in a file for wacht vehicle Just like you do with players. Take a look at vehicle scripts on this forum. For example: avs