GetRandomInfo
#3

pawn Код:
C:\Users\William\Documents\Famous' World\Famous' World\gamemodes\Famous.pwn(7047) : error 021: symbol already defined: "i"
C:\Users\William\Documents\Famous' World\Famous' World\gamemodes\Famous.pwn(7047) : warning 206: redundant test: constant expression is non-zero
C:\Users\William\Documents\Famous' World\Famous' World\gamemodes\Famous.pwn(7047) : warning 203: symbol is never used: "i"
line 7047:
Код:
		for(new i,i<MAX_PLAYERS;i++)
script:
pawn Код:
if(gTeam[playerid] == TEAM_BANDIT)
    {
        new name[MAX_PLAYER_NAME], string[44];
        new a;
        for(new i,i<MAX_PLAYERS;i++)
        {
            a = Iter_Random(Player);
            if(a != TEAM_DRIVERS)
            {
                i--;
                continue;
            }
            GetPlayerName(a, name, sizeof(name));
            format(string, sizeof(string), "%s",name);
            TextDrawSetString(Opdracht, string);
           
            break;
        }
    }
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)