Invalid Function/Declaration
#2

pawn Код:
stock ZombieSetup(playerid)
{
    SetPlayerTeam(playerid,TEAM_ZOMBIE);
    team[playerid] = TEAM_ZOMBIE;
        switch(random(2))
            {
                case 0: SetPlayerColor(playerid,COLOR_ZOMBIE);
                case 1: SetPlayerColor(playerid,COLOR_ZOMBIE2);
                //}-- here?
        }
    return 1;
}

stock ZombieSetup2(playerid)
{
    SetPlayerTeam(playerid,TEAM_ZOMBIE);
    team[playerid] = TEAM_ZOMBIE;
    SpawnPlayer(playerid);
        switch(random(2))
            {
                case 0: SetPlayerColor(playerid,COLOR_ZOMBIE);
                case 1: SetPlayerColor(playerid,COLOR_ZOMBIE2);
                //}-here?
            }
    return 1;
}
Greetz,
LetsOWN

Quote:

This forum requires that you wait 120 seconds between posts. Please try again in 24 seconds.

Reply


Messages In This Thread
Invalid Function/Declaration - by Blackazur - 05.03.2013, 18:14
Re: Invalid Function/Declaration - by LetsOWN[PL] - 05.03.2013, 18:37
AW: Invalid Function/Declaration - by Blackazur - 05.03.2013, 18:49

Forum Jump:


Users browsing this thread: 1 Guest(s)