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



Arrays help - yancarlos4500 - 12.08.2013

Hello,

I wanted to do a garbage job and my friend told me to use arrays.

i want to create a array to save 2 ids

what i want to know is how can i save an id in a array

like getplayerid and save it.

so when i use setplayercheckpoint i use the array to give it to the player

maybe save the array one for driver and the other for the passenger

please help