25.07.2012, 21:25
Create a variable for each cell, for example Cell1. Then check if the cell is occupied, and if it is move on to checking Cell2.
https://sampwiki.blast.hk/wiki/Control_Structures
https://sampwiki.blast.hk/wiki/Scripting_Basics#Variables
https://sampwiki.blast.hk/wiki/Control_Structures
https://sampwiki.blast.hk/wiki/Scripting_Basics#Variables