*** Terrible Title Removed
#3

@SuperViper, Explain more.
PHP код:
//Stock SetPlayerTeamFromClass.
stock SetPlayerTeamFromClass(playeridclassid)
{
    switch(
classid)
    {
        case 
0:
        {
            
gTeam[playerid] = TEAM_CIVIL;
        }
        case 
1:
        {
            
gTeam[playerid] = TEAM_COP;
        }
        case 
2:
        {
            
gTeam[playerid] = TEAM_ARMY;
        }
         case 
3:
        {
            
gTeam[playerid] = TEAM_CIA;
        }
         case 
4:
        {
            
gTeam[playerid] = TEAM_MEDIC;
        }
         case 
5:
        {
            
gTeam[playerid] = TEAM_FIRE;
        }
    }
    return 
1;

Reply


Messages In This Thread
*** Terrible Title Removed - by _Khaled_ - 25.10.2012, 14:43
Re: Really Weird thing, un-explained.. - by SuperViper - 25.10.2012, 14:45
Re: Really Weird thing, un-explained.. - by _Khaled_ - 25.10.2012, 14:47
Re: *** Terrible Title Removed - by _Khaled_ - 25.10.2012, 22:30
Re: *** Terrible Title Removed - by _Khaled_ - 26.10.2012, 08:28

Forum Jump:


Users browsing this thread: 1 Guest(s)