[NEED HELP] 1 Error alot of warnings.
#1

Hello there,

I've got a problem with YSI:

Код:
C:\SA-MP\SA-MP Server\pawno\include\YSI/YSI_misc.own(399) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\SA-MP\SA-MP Server\pawno\include\YSI/YSI_misc.own(771) : error 021: symbol already defined: "mktime"
C:\SA-MP\SA-MP Server\pawno\include\YSI/Core/YSI_td.own(271) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\SA-MP\SA-MP Server\pawno\include\YSI/Core/YSI_td.own(1291) : warning 219: local variable "mod" shadows a variable at a preceding level
C:\SA-MP\SA-MP Server\pawno\include\YSI/Core/YSI_commands.own(947) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\SA-MP\SA-MP Server\pawno\include\YSI/Core/YSI_commands.own(1469) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\SA-MP\SA-MP Server\pawno\include\YSI/Player/YSI_player.own(1118) : warning 219: local variable "mod" shadows a variable at a preceding level
C:\SA-MP\SA-MP Server\pawno\include\YSI/System/YSI_groups.own(1896) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\SA-MP\SA-MP Server\pawno\include\YSI/System/YSI_groups.own(1932) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\SA-MP\SA-MP Server\pawno\include\YSI/System/YSI_groups.own(2381) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\SA-MP\SA-MP Server\pawno\include\YSI/System/YSI_groups.own(2445) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\SA-MP\SA-MPS~1\GAMEMO~1\ffs.pwn(2075) : warning 203: symbol is never used: "Langs_AddFile"
C:\SA-MP\SA-MPS~1\GAMEMO~1\ffs.pwn(2075) : warning 203: symbol is never used: "Langs_AddLanguage"
C:\SA-MP\SA-MPS~1\GAMEMO~1\ffs.pwn(2075) : warning 203: symbol is never used: "ret_memcpy"
C:\SA-MP\SA-MPS~1\GAMEMO~1\ffs.pwn(2075) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
If you want to put the script on Pastebin I will. but please I need help!.

Thanks.
-Dr.Awesome aka HellDude
Reply
#2

You have 2 times mktime, what can used 1 time.
Reply
#3

Sorry, accidentally pressed submit.
Reply
#4

Yes I know, but that's in YSI,, I ain't didn't touch that..
Odd thing was, I had the script working.. I added
Код:
	SetPlayerMapIcon(playerid, 1, 2194.6406,1994.0345,48.7435, 52, 0);// Banks start
		SetPlayerMapIcon(playerid, 2, 2547.2461,1969.6553,13.5078, 52, 0);//--
        SetPlayerMapIcon(playerid, 3, 2453.8772,2063.1587,13.5781, 52, 0);//--
        SetPlayerMapIcon(playerid, 4, 2886.1067,2455.0386,13.5781, 52, 0);//--
        SetPlayerMapIcon(playerid, 5, 2099.1218,2222.4910,13.5781, 52, 0);//--
        SetPlayerMapIcon(playerid, 6, 2247.0569,2399.0564,13.5781, 52, 0);//--
        SetPlayerMapIcon(playerid, 7, -182.8560,1034.1066,13.5781, 52, 0);//--
        SetPlayerMapIcon(playerid, 8, -1560.6300,-2734.9800,13.5781, 52, 0);//--
        SetPlayerMapIcon(playerid, 9, 1350.0668,-1757.3224,13.5781, 52, 0);//--
        SetPlayerMapIcon(playerid, 10, 1832.0416,-1847.4108,13.5781, 52, 0);//--
        SetPlayerMapIcon(playerid, 11, 1313.5385,-901.7092,13.5781, 52, 0);//banks end
        SetPlayerMapIcon(playerid, 12, 695.2212,1937.2141,13.5781, 35, 0);// SPAWN
        SetPlayerMapIcon(playerid, 13, -2329.4402,-1655.5568,13.5781, 16, 0);// Chilliad
        SetPlayerMapIcon(playerid, 14, 2579.1843,2505.2317,13.5781, 53, 0);// Fuckway
        SetPlayerMapIcon(playerid, 15, -1287.3446,-226.0319,13.5781, 5, 0);//air
        SetPlayerMapIcon(playerid, 16, 1713.2285,1614.1863,13.5781, 5, 0);//air
        SetPlayerMapIcon(playerid, 17, 417.7274,2521.5403,13.5781, 5, 0);//air
        SetPlayerMapIcon(playerid, 18, 1699.6377,-2524.3726,13.5781, 5, 0);//air
And suddently it doesn't work anymore

I'm uploading the script to pastebin.. Link: http://pastebin.com/m1df87a36


Thanks,,

- Dr. Awesome/HellDude
Reply
#5

If im right. Thats because you tried to add something that should be in a GAMEMODE and you put it in the INCLUDE

Hope that fixes the problem.
Reply
#6

Nope.. I didn't screw around with the includes.. I didn't add things in there.. I know because I redownloaded YSI & reinstalled it..
Reply
#7

I think you're using DUDB and YSI.. and thats why you get these errors.. hash is defined in DUDB and YSI and so on.. you know
Dunno, maybe Im wrong.
Reply
#8

Nope only these :
Код:
#include <a_samp>
#include <core>
#include <float>
#include <Dini>
#include <YSI>
Reply
#9

or dini
Reply
#10

aah thanks.
I wanted to use Y_Objects but I had this problem:
Y_objects.own(3260) : error 001: expected token: ")", but found "["
Y_objects.own(3260) : error 029: invalid expression, assumed zero
Y_objects.own(3260) : error 029: invalid expression, assumed zero
Y_objects.own(3260) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Do you now something I can do about this?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)