About the loop for() used with GetPlayerWeaponData
#1

I have a doubt, it seems a bit silly to talk about it but many users who say one thing and others who say another, I would like to sincerely explanations.


I would like to know if i have to use this loop:

pawn Код:
for(new i = 0; i != 13; i++) {
    GetPlayerWeaponData(playerid, i, ....
}
or this loop:

pawn Код:
for(new i = 0; i != 12; i++) {
    GetPlayerWeaponData(playerid, i, ....
}
Reply
#2

https://sampwiki.blast.hk/wiki/GetPlayerWeaponData
Reply
#3

What a stupid question I've done.
Now I understand that I'm getting old haah.

the 12 loop prints 0 1 2 3 4 5 6 7 8 9 10 11
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)