Code not working.
#1

Код:
stock OwnedTurfs2( teamid )
{
    new turf;
    for (new i = 0; i < MAX_TURFS; i++) if (turfs[ i ][TurfOwner] == teamid) TeamInfo[ teamid ][ TeamTurfs ] = 0,TeamInfo[ teamid ][ TeamTurfs ]++;
    return turf;
}
This is supposed to tell the turfs owned by specific team. It compiles perfectly but doesn't work.
Reply


Messages In This Thread
Code not working. - by Ritzy2K - 18.11.2017, 04:16
Re: Code not working. - by Sithis - 18.11.2017, 06:25
Re: Code not working. - by Ritzy2K - 18.11.2017, 06:40
Re: Code not working. - by Juvanii - 18.11.2017, 08:54
Re: Code not working. - by Ritzy2K - 18.11.2017, 08:59
Re: Code not working. - by Juvanii - 18.11.2017, 09:23
Re: Code not working. - by Ritzy2K - 18.11.2017, 10:03
Re: Code not working. - by Ritzy2K - 18.11.2017, 10:15
Re: Code not working. - by Juvanii - 18.11.2017, 10:36
Re: Code not working. - by Ritzy2K - 18.11.2017, 10:46

Forum Jump:


Users browsing this thread: 2 Guest(s)