error 010: invalid function or declaration
#1

Код:
	case DIALOG_CLASS_2:
	{
    if(team[playerid] == TEAM_HUMAN)
    {
    if(response)
    {
    if(times >= 210)
    {
    switch(listitem)
    {
	case 0: if(pInfo[playerid][pXP] >= 0) pInfo[playerid][pHumanClass] = 0,pInfo[playerid][pHumanClass] = CIVILIAN,setClass(playerid); else { SendXPError(playerid,0); }
	case 1: if(pInfo[playerid][pXP] >= 500) pInfo[playerid][pHumanClass] = 0,pInfo[playerid][pHumanClass] = POLICEMAN,setClass(playerid); else { SendXPError(playerid,500); }
	case 2: if(pInfo[playerid][pXP] >= 1500) pInfo[playerid][pHumanClass] = 0,pInfo[playerid][pHumanClass] = MEDIC,setClass(playerid); else { SendXPError(playerid,1500); }
	case 3: if(pInfo[playerid][pXP] >= 1500) pInfo[playerid][pHumanClass] = 0,pInfo[playerid][pHumanClass] = SCOUT,setClass(playerid); else { SendXPError(playerid,1500); }
	case 4: if(pInfo[playerid][pXP] >= 3000) pInfo[playerid][pHumanClass] = 0,pInfo[playerid][pHumanClass] = HEAVYMEDIC,setClass(playerid); else { SendXPError(playerid,3000); }
	case 5: if(pInfo[playerid][pXP] >= 2000) pInfo[playerid][pHumanClass] = 0,pInfo[playerid][pHumanClass] = HEAVY,setClass(playerid); else { SendXPError(playerid,2000); }
	case 6: if(pInfo[playerid][pXP] >= 10000) pInfo[playerid][pHumanClass] = 0,pInfo[playerid][pHumanClass] = SWAT,setClass(playerid); else { SendXPError(playerid,10000); }
	case 7: if(pInfo[playerid][pXP] >= 15000) pInfo[playerid][pHumanClass] = 0,pInfo[playerid][pHumanClass] = Mi7,setClass(playerid); else { SendXPError(playerid,15000); }
	case 8: if(pInfo[playerid][pXP] >= 15000) pInfo[playerid][pHumanClass] = 0,pInfo[playerid][pHumanClass] = Firemaniac,setClass(playerid); else { SendXPError(playerid,15000); }
	case 9: if(pInfo[playerid][pXP] >= 7500) pInfo[playerid][pHumanClass] = 0,pInfo[playerid][pHumanClass] = ENGINEER,setClass(playerid); else { SendXPError(playerid,7500); }
	case 10: if(pInfo[playerid][pXP] >= 30000) pInfo[playerid][pHumanClass] = 0,pInfo[playerid][pHumanClass] = ADVANCEDENGINEER,setClass(playerid); else { SendXPError(playerid,30000); }
	}
	}
	}
	}
	}
Any help?
Reply


Messages In This Thread
error 010: invalid function or declaration - by Pokemon64 - 05.02.2017, 09:41
Re: error 010: invalid function or declaration - by Pokemon64 - 05.02.2017, 09:44

Forum Jump:


Users browsing this thread: 1 Guest(s)