Can someone tell me how this function work ?
#1

PHP код:
        for(new i=0i<14i++)
        {
            
PlayerInfo[playerid][pVehMod][i] = GetVehicleComponentInSlot(PlayerInfo[playerid][pVeh], i);
        } 
Reply
#2

creates a new variable named "i", setting its value to 0, if the value of "i" is lesser than 14, the "i" will increase by 1.
for example if i = 3, its lesser than 14 and become 4. whereas if "i" = 14, i will break its loop. btw its called a loop, https://sampforum.blast.hk/showthread.php?tid=305770
Reply
#3

I cant understand
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)