2 Errors - 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: 2 Errors (
/showthread.php?tid=354875)
2 Errors -
Sajeevan - 28.06.2012
pawno\include\YSI\y_master.inc(1083) : error 017: undefined symbol "OnMasterSystemInit"
pawno\include\YSI\y_master.inc(1083) : error 010: invalid function or declaration
Код:
HouseInfo[idx][hOutsideIcon] = CreateDynamicPickup(1273, 1, HouseInfo[idx][hEntranceX], HouseInfo[idx][hEntranceY], HouseInfo[idx][hEntranceZ], HouseInfo[idx][hWorld]);
HouseInfo[idx][hInsideIcon] = CreateDynamicPickup(1273, 1, HouseInfo[idx][hExitX], HouseInfo[idx][hExitY], HouseInfo[idx][hExitZ], HouseInfo[idx][hInsideWorld]);
idx++;
}
fclose(file);
}
return 1;
}
--------This is the line!
public SaveHouses()
{
new idx;
new File: file2;
while (idx < sizeof(HouseInfo))
{
Re: 2 Errors -
TyThaBomb - 28.06.2012
Well, the script doesnt see a new OnMasterSystemInit anywhere. That's all it is from what I can see.
Re: 2 Errors -
Sajeevan - 28.06.2012
Hmm..
Re: 2 Errors -
Faisal_khan - 28.06.2012
The error is in your include YSI\y_master.inc. May be you messed up with your includes.
Update your server package along with the includes and plugins.
Re: 2 Errors -
Strech - 28.06.2012
Wrong function and the server can't read it