Quote:
Originally Posted by drekes
I don't understand what you mean, could you make an example of my mistake and a solution, so i can see my mistake?
|
PHP Code:
new players[32], pnum
get_players(players, pnum, "a");
for( new i; i<pnum; i++ )
{
check_user(id)
if(cs_get_user_team(id) == CS_TEAM_CT)
{
handgun_menu(id)
}
got_gun[id] = false
}
Code:
new players[32], pnum, tempid
get_players(players, pnum, "a");
for( new i; i<pnum; i++ )
{
tempid = players[i]
check_user(tempid)
if(cs_get_user_team(tempid) == CS_TEAM_CT)
{
handgun_menu(tempid)
}
got_gun[tempid] = false
}
__________________