SA-MP Forums Archive
House system filterscript - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: House system filterscript (/showthread.php?tid=611611)



House system filterscript - JXF - 08.07.2016

I have this house system into a filterscript, and I get these warnings:

Код:
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
which make my FS not work.

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]);
Lines 203 & 209:
Код:
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]))