I dont understand this easy code. Pls help me to understand =)
Hello. Im new at scripting and i dont anderstand this code, witch is using to loop through all players:
PHP Code:
|
Re: I dont understand this easy code. Pls help me to understand =)
pnum stands for playersnumber, so it's the number of players that have been collected in players var, so if pnum is 3, players[0] players[1] and players[2] contain ids of the 3 players, and after that variable is empty, that's why you do the loop from i = 0 to i < 3 (pnum)
|
Re: I dont understand this easy code. Pls help me to understand =)
hey thanks
this forum is awesome |
| All times are GMT -4. The time now is 14:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.