GetRandomInfo
#5

pawn Код:
if(gTeam[playerid] == TEAM_BANDIT)
    {
        new name[MAX_PLAYER_NAME], string[44];
        new a;
        for(new z,z<MAX_PLAYERS;z++)
        {
            a = Iter_Random(Player);
            if(a != TEAM_DRIVERS)
            {
                z--;
                continue;
            }
            GetPlayerName(a, name, sizeof(name));
            format(string, sizeof(string), "%s",name);
            TextDrawSetString(Opdracht, string);
           
            break;
        }
    }
Same problem...
and I haven't ever defined z in my script before so...
Reply


Messages In This Thread
GetRandomInfo - by knackworst - 16.09.2011, 19:55
Re: GetRandomInfo - by =WoR=Varth - 16.09.2011, 20:01
Re: GetRandomInfo - by knackworst - 16.09.2011, 20:08
Re: GetRandomInfo - by =WoR=Varth - 16.09.2011, 20:11
Re: GetRandomInfo - by knackworst - 16.09.2011, 20:14
Re: GetRandomInfo - by =WoR=Varth - 16.09.2011, 20:16
Re: GetRandomInfo - by knackworst - 16.09.2011, 20:23

Forum Jump:


Users browsing this thread: 1 Guest(s)