fatal error 111: user error: _ALS_OnFilterScriptInit defined
#1

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.
Reply
#2

Looks like it should be included first, before anything else.
Reply
#3

Its included
Код:
#include <fixes>
Reply
#4

Quote:
Originally Posted by Vince
Посмотреть сообщение
Looks like it should be included first, before anything else.
4char
Reply
#5

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"
Reply
#6

Not before a_samp lmao.



https://github.com/Open-GTO/sa-mp-fi...ster/README.md
Reply
#7

idk idk
Reply
#8

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?
Reply
#9

If you have a variable or stock called "time" put it to something else. And put return 1; in OnFilterScriptInit.
Reply
#10

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 : 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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)