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



array - Bussyman - 08.08.2017

Hi,

If i create array

new anystring[ 100 ][ 10 ];

So when i on gamemode anystring in all array slots are null?


Re: array - Misiur - 08.08.2017

Yes.


Re: array - OneDay - 08.08.2017

0 not null


Re: array - Dayrion - 08.08.2017

If you declare an array as a string, only the last character will be null.
Otherwise, the array's slots are 0.