Posts: 25
Threads: 10
Joined: Jan 2009
Reputation:
0
Is there something like list avaible in SA-MP? By list i mean that i can add and remove array members at runtime without knowing max ammount of items at coding time. If not, is there any way to resize array at runtime?
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
The only solution id know atm is to create an array and to write the old one in the new one. You could add/remove something then to resize it.
Posts: 25
Threads: 10
Joined: Jan 2009
Reputation:
0
Array i want to resize is global. Can i create global arrays at runtime?
Posts: 1,150
Threads: 16
Joined: Oct 2009
Reputation:
0
That is not possible. You cannot create global variables during run time.