View Single Post
Old 30/11/2019, 12:36 PM   #4
NoteND
Huge Clucker
 
Join Date: May 2016
Posts: 214
Reputation: 3
Default Re: Random Objects and random spawn

Change this line

Code:
new rand = Objects[random(600)];
to

Code:
new rand = random(sizeof(Objects));
and for labels.. you need to create new array for example

Code:
ObjectsNames[600][32] = {"M4", "Aidkit", "AK-47"...}
but names need to be on same number as object ids.
NoteND is offline   Reply With Quote