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



Script help - Ciyber - 13.02.2015

Hello, i was rescripting some and i found this bug maybe its not...

Код:
C:\Users\user\Desktop\pawno\include\YSI\y_hooks/impl.inc(1755) : error 025: function heading differs from prototype
C:\Users\user\Desktop\pawno\include\YSI\y_hooks/impl.inc(2339) : error 025: function heading differs from prototype
C:\Users\user\Desktop\pawno\include\YSI\y_hooks/impl.inc(2386) : error 025: function heading differs from prototype
I hope you can help me.


Re: Script help - Ritzy2K - 13.02.2015

Show us that lines?


Re: Script help - Ciyber - 13.02.2015

PHP код:
1755SetPlayerFightingStyle(playeridFIGHT_STYLE_GRABKICK);
2339: if(fexist(file) && fexist(file2))
2386: { 



Re: Script help - Maximus0 - 13.02.2015

I guess it's not on those lines, it's on your callbacks.
Like if you define OnGameModeInit(hittype) it will show those kind of errors as the prototype is OnGameModeInit().


Re: Script help - Jimmy0wns - 13.02.2015

Update your YSI, that fixed the error for me.


Re: Script help - Ciyber - 13.02.2015

Quote:
Originally Posted by Jimmy0wns
Посмотреть сообщение
Update your YSI, that fixed the error for me.
can you give me link please, because i was looking and didan't find anything


Re: Script help - Maximus0 - 13.02.2015

Learn to ******, anyway HERE


Re: Script help - Ciyber - 13.02.2015

I'm sorry, problem fixed. Be more nice next time maxim.