SA-MP Forums Archive
YSI help? - 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: YSI help? (/showthread.php?tid=555879)



YSI help? - MrSwindle - 09.01.2015

pawn Код:
if(slot == 2 && vInfo[veh][StoredSlot2] == 0)
    {
        vInfo[veh][StoredSlot2] = GetPlayerWeapon(playerid);
        vInfo[veh][StoredSlot2Ammo] = GetPlayerAmmo(playerid); //1755
    }
pawn Код:
C:\Users\MrSwindle\Desktop\LSC-RP\pawno\include\YSI\y_hooks/impl.inc(1755) : error 025: function heading differs from prototype
What is the problem?


Re: YSI help? - ahmedkoki - 09.01.2015

you need to reinstall YSI package from here YSI include


Re: YSI help? - MrSwindle - 09.01.2015

Reinstalled and still getting the error.


Re: YSI help? - CalvinC - 09.01.2015

I don't use YSI, but i just found this:
https://sampforum.blast.hk/showthread.php?tid=488198
Might help.


Re: YSI help? - MrSwindle - 09.01.2015

I'm using the latest on your github and still receive the error


Re: YSI help? - MrSwindle - 09.01.2015

pawn Код:
C:\Users\MrSwindle\Desktop\New folder\pawno\include\YSI\..\YSI_Storage\y_ini.inc(206) : fatal error 100: cannot read from file: "..\amx\os"



Re: YSI help? - MrSwindle - 16.01.2015

What do you do with this? Sorry for being a noob. I added those files to the includes but nothing has changed. same error


Re: YSI help? - MrSwindle - 16.01.2015

Nevermind issue fixed. Thanks for the help