08.07.2016, 22:27
I have this house system into a filterscript, and I get these warnings:
which make my FS not work.
Lines 187-193:
Lines 203 & 209:
Код:
Untitled.pwn(100) : warning 202: number of arguments does not match definition Untitled.pwn(187) : warning 202: number of arguments does not match definition Untitled.pwn(192) : warning 202: number of arguments does not match definition Untitled.pwn(193) : warning 202: number of arguments does not match definition Untitled.pwn(203) : warning 213: tag mismatch Untitled.pwn(209) : warning 213: tag mismatch
Lines 187-193:
Код:
187 -- dini_Get(fstring, "Owner", HouseInfo[houseid][hOwner]); 188 -- dini_IntSet(fstring, "Price", HouseInfo[houseid][hPrice]); 189 -- dini_IntSet(fstring, "HV_Model", HouseInfo[houseid][hVehicle]); 190 -- dini_FloatSet(fstring, "HV_PosX", HouseInfo[houseid][hVehX]); 191 -- dini_FloatSet(fstring, "HV_PosZ", HouseInfo[houseid][hVehY]); 192 -- dini_Float(fstring, "HV_PosZ", HouseInfo[houseid][hVehZ]); 193 -- dini_Float(fstring, "HV_PosA", HouseInfo[houseid][hVehA]);
Код:
203 -- if(IsPlayerInRangeOfPoint(playerid, 1.5, HouseInfo[i][hEnterX], HouseInfo[i][hEnterY], HouseInfo[i][hEnterZ] && pInterior == HouseInfo[i][hOutsideInt] && pVirtual == HouseInfo[i][hOutsideVW])) 209 -- else if(IsPlayerInRangeOfPoint(playerid, 1.5, HouseInfo[i][hExitX], HouseInfo[i][hExitY], HouseInfo[i][hExitZ] && pInterior == HouseInfo[i][hInsideInt] && pVirtual == HouseInfo[i][hInsideVW]))