#1

Hi i got
Код:
vCar[playerid][10]
and i want to loop all slots, i mean
Код:
for(new i = 0; i < vCar[playerid]; i++)
but there is problem about array vCar, second size.
How to do it?
Reply
#2

pawn Код:
for(new i = 0; i < 10; i++)
Reply
#3

pawn Код:
for(new i = 0; i < sizeof(vCar[][]) i ++)
https://sampwiki.blast.hk/wiki/Keywords:Operators#sizeof
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)