PDA

View Full Version : fatal error 111: user error: _ALS_OnFilterScriptInit defined


henkas
16/12/2016, 04:03 PM
fatal error 111: user error: _ALS_OnFilterScriptInit defined
I tried include me fixed.inc bat i got this error, its the newest include and i have original pawn. So i have no idea how should i fix it.

Vince
16/12/2016, 04:32 PM
Looks like it should be included first, before anything else.

henkas
16/12/2016, 04:44 PM
Its included
#include <fixes>

Vince
16/12/2016, 04:56 PM
Looks like it should be included first, before anything else.

4char

henkas
17/12/2016, 08:18 AM
Och yea right. Bat maybe know why that include have a lot errors? like
error 017: undefined symbol "MAX_PLAYERS"
error 017: undefined symbol "MAX_MENUS"
error 017: undefined symbol "MAX_ACTORS"
error 017: undefined symbol "INVALID_PLAYER_ID"
error 017: undefined symbol "TextDrawCreate"

Runn3R
17/12/2016, 11:29 AM
Not before a_samp lmao.

http://image.prntscr.com/image/1201dabd2c1f4ab592a281388e131b03.png

https://github.com/Open-GTO/sa-mp-fixes/blob/master/README.md

Pokemon64
17/12/2016, 05:13 PM
idk idk

henkas
18/12/2016, 09:11 AM
Shit guys i made how you told its fucked up
Code:
#include <a_samp>
#include <fixes>
#include <YSI\y_ini>
#include <zcmd>
#include <sscanf2>
#include <foreach>
#include <streamer>
#include <OPSP>
#include <TimeStampToDate>
From fixes those errors
Code:
warning 219: local variable "time" shadows a variable at a preceding level
From Ysi
Code:
warning 209: function "FIXES_OnFilterScriptInit" should return a value
and same warnning with couple others callbacks

up up up up

Well guys i putted how you said bat its stills many error from fixes and Ysi

Help pls.

Any help?

OneDay
18/12/2016, 05:51 PM
If you have a variable or stock called "time" put it to something else. And put return 1; in OnFilterScriptInit.

henkas
18/12/2016, 06:21 PM
Yea its helped when i called something else bat now from Ysi
\pawno\include\YSI\internal\..\y_scriptinit.inc(13 2) : warning 209: function "FIXES_OnFilterScriptInit" should return a value
\pawno\include\YSI\internal\..\y_scriptinit.inc(16 8) : warning 209: function "FIXES_OnGameModeInit" should return a value
\pawno\include\YSI\internal\..\y_scriptinit.inc(21 5) : warning 209: function "FIXES_OnFilterScriptExit" should return a value
\pawno\include\YSI\internal\..\y_scriptinit.inc(23 7) : warning 209: function "FIXES_OnGameModeExit" should return a value

Moved include down and i got only 2 error
\pawno\include\YSI\internal\..\y_scriptinit.inc(21 5) : warning 209: function "FIXES_OnFilterScriptExit" should return a value
\pawno\include\YSI\internal\..\y_scriptinit.inc(23 7) : warning 209: function "FIXES_OnGameModeExit" should return a value

How i need fix it?

henkas
18/12/2016, 07:41 PM
Any help?

OneDay
19/12/2016, 11:58 AM
Do you have newest ysi?

henkas
19/12/2016, 12:04 PM
Well thanks for helping bat I decided to not include fixes.inc because i have a lot problems when i fix one i get other problem, so better do not put my hand into this include. Maybe somehow i will fix me problem.

We can close this application.