20.06.2013, 21:17
(
Последний раз редактировалось jeffery30162; 20.06.2013 в 22:25.
)
I recieved this error upon decompling:
heres the code that the errors in:
line 255
enum
heres the code that the errors in:
Код:
forward LoadChar_data(playerid,name[],value[]); public LoadChar_data(playerid,name[],value[]) { INI_String("Password",pInfo[playerid][Pass], 129); INI_Int("IP", pInfo[playerid][pIP]); INI_Int("Gender", pInfo[playerid][Gender]); INI_Int("Age", pInfo[playerid][Age]); INI_Int("Level", pInfo[playerid][Level]); INI_Int("pScore", pInfo[playerid][pScore]); INI_Int("pSkin", pInfo[playerid][pSkin]); INI_Int("Money", pInfo[playerid][Money]); INI_Int("pAdmin", pInfo[playerid][pAdmin]); INI_Int("pJob", pInfo[playerid][pJob]); INI_Int("WantedLevel", pInfo[playerid][WantedLevel]); INI_Float("X", pInfo[playerid][pX]); INI_Float("Y", pInfo[playerid][pY]); INI_Float("Z", pInfo[playerid][pZ]); INI_Int("Tutorial", pInfo[playerid][Tutorial]); INI_Int("Banned", pInfo[playerid][Banned]); INI_Int("VW", pInfo[playerid][VW]); INI_Int("Int", pInfo[playerid][Int]); INI_Int("Death", pInfo[playerid][pDeath]); INI_Float("Health", pInfo[playerid][Health]); INI_Float("Armour", pInfo[playerid][Armour]); INI_Int("Wep0", pInfo[playerid][pWeapon][0]); INI_Int("Wep0Ammo", pInfo[playerid][pWeaponAmmo][0]); INI_Int("Wep1", pInfo[playerid][pWeapon][1]); INI_Int("Wep1Ammo", pInfo[playerid][pWeaponAmmo][1]); INI_Int("Wep2", pInfo[playerid][pWeapon][2]); INI_Int("Wep2Ammo", pInfo[playerid][pWeaponAmmo][2]); INI_Int("Wep3", pInfo[playerid][pWeapon][3]); INI_Int("Wep3Ammo", pInfo[playerid][pWeaponAmmo][3]); INI_Int("Wep4", pInfo[playerid][pWeapon][4]); INI_Int("Wep4Ammo", pInfo[playerid][pWeaponAmmo][4]); INI_Int("Wep5", pInfo[playerid][pWeapon][5]); INI_Int("Wep5Ammo", pInfo[playerid][pWeaponAmmo][5]); INI_Int("Wep6", pInfo[playerid][pWeapon][6]); INI_Int("Wep6Ammo", pInfo[playerid][pWeaponAmmo][6]); INI_Int("Wep7", pInfo[playerid][pWeapon][7]); INI_Int("Wep7Ammo", pInfo[playerid][pWeaponAmmo][7]); INI_Int("Wep8", pInfo[playerid][pWeapon][8]); INI_Int("Wep8Ammo", pInfo[playerid][pWeaponAmmo][8]); INI_Int("Wep9", pInfo[playerid][pWeapon][9]); INI_Int("Wep9Ammo", pInfo[playerid][pWeaponAmmo][9]); INI_Int("Wep10", pInfo[playerid][pWeapon][10]); INI_Int("Wep10Ammo", pInfo[playerid][pWeaponAmmo][10]); INI_Int("Wep11", pInfo[playerid][pWeapon][11]); INI_Int("Wep11Ammo", pInfo[playerid][pWeaponAmmo][11]); INI_Int("Wep12", pInfo[playerid][pWeapon][12]); INI_Int("Wep12Ammo", pInfo[playerid][pWeaponAmmo][12]); return 1; }
Код:
INI_String("Password",pInfo[playerid][Pass], 129);
Код:
enum pInfo { // Temp Values LoggedIn, Spawn, // Permanent Values pass[129], pIP, Gender, Age, Level, pScore, pSkin, Money, pAdmin, pJob, WantedLevel, Float:pX, Float:pY, Float:pZ, Tutorial, Banned, VW, Int, pDeath, Float:Health, Float:Armour, pWeapon[13], pWeaponAmmo[13], // Spawns // pHospital, pPrison, pPrisonTime, //Prison// pPrisonBy[32], //Businesses// pBiz, pVBiz, pOwner, //Robbery Guage// RobTime, RobTimer, BankBalance, VehicleLicense, GettingLicense, PilotLicense, CP, CPs } new PlayerInfo[MAX_PLAYERS][pInfo];