21.06.2015, 22:20
Hi! So i'm personalizing my Server GM ((v0.3.7)) and the Pawno Compiler get me this error:
C:\Users\MLG_OPBoT\Desktop\GTA San Andreas\SERVER\pawno\include\YSI\y_hooks/impl.inc(2336) : error 025: function heading differs from prototype
C:\Users\MLG_OPBoT\Desktop\GTA San Andreas\SERVER\pawno\include\YSI\y_hooks/impl.inc(2383) : error 025: function heading differs from prototype
The lines are 2336:
And 2383:
I really dont know if the error starts from the code or the "include file: y_hook/impl.inc"
PLS anyone can help me?
C:\Users\MLG_OPBoT\Desktop\GTA San Andreas\SERVER\pawno\include\YSI\y_hooks/impl.inc(2336) : error 025: function heading differs from prototype
C:\Users\MLG_OPBoT\Desktop\GTA San Andreas\SERVER\pawno\include\YSI\y_hooks/impl.inc(2383) : error 025: function heading differs from prototype
The lines are 2336:
Код:
foreach(Player, i) { if(IsACop(i)) { new Saved = (TotalRobbers*50000-(TotalStolen*50000)); GiveZaiatMoney(i, Saved/copsonline); format(string, sizeof(string), "** You have received your cut from the saved money. ($%d)", Saved/copsonline); SendClientMessage(i, COLOR_LIME, string); } } } } // 3D Text /*Delete3DTextLabel(AltTabText[playerid]); Delete3DTextLabel(AFKText[playerid]); Delete3DTextLabel(aDutyText[playerid]); Delete3DTextLabel(VIPText[playerid]);*/ if(IsValidDynamic3DTextLabel(AltTabText[playerid])) DestroyDynamic3DTextLabel(AltTabText[playerid]); if(IsValidDynamic3DTextLabel(AFKText[playerid]))DestroyDynamic3DTextLabel(AFKText[playerid]); if(IsValidDynamic3DTextLabel(aDutyText[playerid]))DestroyDynamic3DTextLabel(aDutyText[playerid]); if(IsValidDynamic3DTextLabel(hDutyText[playerid]))DestroyDynamic3DTextLabel(hDutyText[playerid]); if(IsValidDynamic3DTextLabel(VIPText[playerid]))DestroyDynamic3DTextLabel(VIPText[playerid]); if(IsValidDynamic3DTextLabel(MaskText[playerid]))DestroyDynamic3DTextLabel(MaskText[playerid]); // Masklabel // Timers
Код:
// Contract format(PlayerInfo[playerid][pContractBy], 32, ""); format(PlayerInfo[playerid][pContractDetail], 64, ""); // Warns format(PlayerInfo[playerid][pWarn1], 64, ""); format(PlayerInfo[playerid][pWarn2], 64, ""); format(PlayerInfo[playerid][pWarn3], 64, ""); format(PlayerInfo[playerid][pWarn4], 64, ""); format(PlayerInfo[playerid][pWarn5], 64, ""); // Spam format(OldSpamCommand[playerid], 128, ""); format(NewSpamCommand[playerid], 128, ""); format(OldSpamChat[playerid], 128, ""); format(NewSpamChat[playerid], 128, ""); // Flag format(PlayerInfo[playerid][pFlag], 64, ""); // Accent format(PlayerInfo[playerid][pAccent], 16, ""); // VIP Name
PLS anyone can help me?