07.12.2015, 11:20
How to do this?
i get this error's
Anyone can help me?
Код:
public LoadHouse(houseid, name[], value[]) { if(!fexist(HousePath(houseid))) return 0; INI_Float("EnterX",HouseInfo[houseid][hEnterX]); INI_Float("EnterY",HouseInfo[houseid][hEnterY]); INI_Float("EnterZ",HouseInfo[houseid][hEnterZ]); INI_Float("ExitX",HouseInfo[houseid][hExitX]); INI_Float("ExitY",HouseInfo[houseid][hExitY]); INI_Float("ExitZ",HouseInfo[houseid][hExitZ]); INI_Float("InX",HouseInfo[houseid][hInX]); INI_Float("InY",HouseInfo[houseid][hInY]); INI_Float("InZ",HouseInfo[houseid][hInZ]); INI_Float("OutX",HouseInfo[houseid][hOutX]); INI_Float("OutY",HouseInfo[houseid][hOutY]); INI_Float("OutZ",HouseInfo[houseid][hOutZ]); INI_Int("InsideInt",HouseInfo[houseid][hInsideInt]); INI_Int("InsideVir",HouseInfo[houseid][hInsideVir]); INI_Int("OutsideInt",HouseInfo[houseid][hOutsideInt]); INI_Int("OutsideVir",HouseInfo[houseid][hOutsideVir]); INI_Bool("Owned",HouseInfo[houseid][hOwned]); INI_String("Owner",HouseInfo[houseid][hOwner],MAX_PLAYER_NAME); INI_Int("InCheckpoint",HouseInfo[houseid][hInCheckpoint]); INI_Int("OutCheckpoint",HouseInfo[houseid][hOutCheckpoint]); INI_Float("InAngle",HouseInfo[houseid][hInAngle]); INI_Float("OutAngle",HouseInfo[houseid][hOutAngle]); INI_Int("Price",HouseInfo[houseid][hPrice]); INI_Bool("Opened",HouseInfo[houseid][hOpened]); INI_String("Password",HouseInfo[houseid][hPassword],20); INI_Bool("Passworded",HouseInfo[houseid][hPassworded]); INI_String("Key1",HouseInfo[houseid][Key1],MAX_PLAYER_NAME); INI_Bool("KeyGiven1",HouseInfo[houseid][key1]); INI_String("Key2",HouseInfo[houseid][Key2],MAX_PLAYER_NAME); INI_Bool("KeyGiven2",HouseInfo[houseid][key2]); INI_String("Key3",HouseInfo[houseid][Key3],MAX_PLAYER_NAME); INI_Bool("KeyGiven3",HouseInfo[houseid][key3]); INI_String("Key4",HouseInfo[houseid][Key4],MAX_PLAYER_NAME); INI_Bool("KeyGiven4",HouseInfo[houseid][key4]); INI_String("Key5",HouseInfo[houseid][Key5],MAX_PLAYER_NAME); INI_Bool("KeyGiven5",HouseInfo[houseid][key5]); INI_Bool("ForSale",HouseInfo[houseid][ForSale]); INI_Int("SalePrice",HouseInfo[houseid][SalePrice]); INI_String("HouseName",HouseInfo[houseid][HouseName],MAX_ZONE_NAME); return 1; }
Код:
D:\Revolution DM\gamemodes\RDM.pwn(5087) : error 001: expected token: ")", but found "[" D:\Revolution DM\gamemodes\RDM.pwn(5087) : warning 215: expression has no effect D:\Revolution DM\gamemodes\RDM.pwn(5087) : error 001: expected token: ";", but found "]" D:\Revolution DM\gamemodes\RDM.pwn(5087) : error 029: invalid expression, assumed zero D:\Revolution DM\gamemodes\RDM.pwn(5087) : fatal error 107: too many error messages on one line