mottzi
06-19-2010, 05:07
Hello. Im new at scripting and i dont anderstand this code, witch is using to loop through all players:
new players[32], pnum, tempid;
get_players(players, pnum); // That save every ID to the variavle players right? But what is pnum for??
for( new i; i<pnum; i++ ) // Same. What is pnum for?
{
tempid = players[i];
}I dont understand the lines with a comment
new players[32], pnum, tempid;
get_players(players, pnum); // That save every ID to the variavle players right? But what is pnum for??
for( new i; i<pnum; i++ ) // Same. What is pnum for?
{
tempid = players[i];
}I dont understand the lines with a comment