SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Tutorials

Reply
 
Thread Tools Display Modes
Old 07/06/2012, 12:23 PM   #21
Rudy_
High-roller
 
Rudy_'s Avatar
 
Join Date: Nov 2011
Location: Home Reputation:9999
Posts: 1,433
Reputation: 203
Default Re: YSI Errors and Warnings

I got this error...
Code:
E:\PC_GTA.SanAndreas -(rip)-(ToeD)\PC_GTA.SanAndreas -(rip)-(ToeD)\GTA.San.Andreas\PAWN\pawno\include\YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar.


Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Didn't found in the list, Maybe you can help me?
__________________
Need scripting help? You can ask me.

GTA - PropHunt [ Comming Soon ]
Looking Testers ^-^
Rudy_ is online now   Reply With Quote
Old 07/06/2012, 12:25 PM   #22
legodude
Gangsta
 
legodude's Avatar
 
Join Date: Sep 2009
Location: 127.0.0.1 duhh
Posts: 878
Reputation: 668
Default Re: YSI Errors and Warnings

looks clear right?

define modename at top of your script.

pawn Code:
#define MODE_NAME gamemodename //notice there are no paranthesis
__________________
legodude is offline   Reply With Quote
Old 24/06/2012, 07:53 PM   #23
God'Z War
Gangsta
 
God'Z War's Avatar
 
Join Date: Apr 2012
Posts: 758
Reputation: 88
Default Re: YSI Errors and Warnings

how to solve this error
Quote:
C:\Users\hp\Desktop\3e server\pawno\include\YSF.inc(97) : error 025: function heading differs from prototype
C:\Users\hp\Desktop\3e server\pawno\include\YSF.inc(97) : error 025: function heading differs from prototype
__________________
★ TOPIC ★
★ PRICE ★
★ OFFER ★
0.12$/m
DDOS Protected Gameserver
16$/m
14$ If you have gameserver on blackbirdhost
God'Z War is offline   Reply With Quote
Old 26/07/2012, 12:06 AM   #24
ZicMortal
Little Clucker
 
Join Date: Aug 2010
Posts: 13
Reputation: 0
Default Re: YSI Errors and Warnings

Could some1 take look at this topic ? => http://forum.sa-mp.com/showthread.php?t=362621

Its related to y ini.
__________________


[FS] AntiSwear
ZicMortal is offline   Reply With Quote
Old 02/01/2013, 08:55 PM   #25
Vinninho
Big Clucker
 
Join Date: Jul 2012
Posts: 92
Reputation: 5
Default Re: YSI Errors and Warnings

Can someone help me with this?

Code:
[22:05:30]  ======================================= 
[22:05:30]  |                                     | 
[22:05:30]  |   Error: Could not connect to YSI   | 
[22:05:30]  |  update server (response was 001).  | 
[22:05:30]  |                                     | 
[22:05:30]  =======================================
I already updated it
__________________
Vinninho is offline   Reply With Quote
Old 02/01/2013, 08:56 PM   #26
Y_Less
Beta Tester
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 18,181
Reputation: 2542
Default Re: YSI Errors and Warnings

No you didn't, and I already proved that you didn't.
Y_Less is offline   Reply With Quote
Old 02/01/2013, 10:28 PM   #27
ReDKiiL
Gangsta
 
Join Date: Apr 2011
Location: etc/hosts
Posts: 945
Reputation: 76
Default Re: YSI Errors and Warnings

Help?

Erros
http://i.imgur.com/Wu3S7.png

Sublime plugin code
Code:
import sublime, sublime_plugin 
import os 

class PawnoCommand(sublime_plugin.TextCommand): 
    def run(self, edit): 
        self.view.window().run_command('pawno_compile') 

class PawnoCompileCommand(sublime_plugin.WindowCommand): 
    def run(self): 
        filePath = self.window.active_view().file_name() 
        dirName = os.path.dirname(filePath); 
        os.system("D:\\ServidoresSAMP\\pawno\\pawncc.exe \""+filePath+"\" -D\""+dirName+"\" & pause");
Help what code insert to sublime plugin?
__________________
ReDKiiL is offline   Reply With Quote
Old 02/01/2013, 10:32 PM   #28
Y_Less
Beta Tester
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 18,181
Reputation: 2542
Default Re: YSI Errors and Warnings

Are you using the correct flags for the compiler? I think they're in the first post.
Y_Less is offline   Reply With Quote
Old 04/01/2013, 08:19 AM   #29
chubz
Little Clucker
 
Join Date: Dec 2012
Posts: 30
Reputation: 0
Default Re: YSI Errors and Warnings

i keep getting these three warnings can you help me please!!

warning 235: public function lacks forward declaration (symbol "OnUnoccupiedVehicleUpdate")
warning 235: function lacks forward declaration (symbol "OnPlayerTakeDamage")
warning 235: function lacks forward declaration (symbol "OnPlayerGiveDamage")
chubz is offline   Reply With Quote
Old 21/02/2013, 08:17 PM   #30
Kiwar_El
Little Clucker
 
Join Date: Jun 2012
Posts: 20
Reputation: 0
Default Re: YSI Errors and Warnings

C:\Users\...\Desktop\PawnScite\pawno\include\sscan f2.inc(267) : warning 218: old style prototypes used with optional semicolumns
C:\Users\....\Desktop\PawnScite\pawno\include\ssca nf2.inc(327) : warning 218: old style prototypes used with optional semicolumns
Kiwar_El is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some errors and warnings MusicBeast Scripting Help 2 11/10/2011 02:02 PM
Some errors/warnings Anzhelov Server Support 1 21/02/2011 10:22 PM
Errors/Warnings help marinov Help Archive 4 06/11/2010 07:07 PM
5 Errors and 3 Warnings nuriel8833 Help Archive 2 28/08/2010 07:07 AM


All times are GMT. The time now is 11:08 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.