Would this work
#5

It won't work. Why?

Example:
pawn Код:
#define TEAM_X 0
#define TEAM_Y 0

switch(gTeam[playerid])
{
    case TEAM_X: {/*do something*/}
    case TEAM_Y: {/*do something else*/}
}

// Would be the same as:

switch(gTeam[playerid])
{
    case 0: {/*do something*/}
    case 0: {/*do something else*/}
    // They both would do the same.
}
Reply


Messages In This Thread
Would this work - by Kitten - 27.11.2010, 17:58
Re: Would this work - by Buzzbomb - 27.11.2010, 18:00
Re: Would this work - by WillyP - 27.11.2010, 18:00
Re: Would this work - by Cypog - 27.11.2010, 18:41
Re: Would this work - by Miguel - 27.11.2010, 18:48
Re: Would this work - by Kitten - 27.11.2010, 18:56
Re: Would this work - by Cypog - 27.11.2010, 19:01
Re: Would this work - by Kitten - 27.11.2010, 19:06
Re: Would this work - by Cypog - 27.11.2010, 19:12
Re: Would this work - by Greek Gangster - 27.11.2010, 19:23

Forum Jump:


Users browsing this thread: 1 Guest(s)