SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 11/01/2020, 08:44 PM   #1
Flofey
Little Clucker
 
Flofey's Avatar
 
Join Date: Oct 2018
Location: South the moon
Posts: 32
Reputation: 11
Default y_ini problem

PHP Code:
y_ini.inc(1050) : warning 202number of arguments does not match definition 
anything useful?
__________________
Discord: Flofey#8478
Flofey is offline   Reply With Quote
Old 11/01/2020, 10:42 PM   #2
Calisthenics
Gangsta
 
Join Date: May 2018
Posts: 948
Reputation: 167
Default Re: y_ini problem

Open y_ini.inc and CTRL+G line 1050. Post the code of that line.
__________________
Calisthenics is offline   Reply With Quote
Old 12/01/2020, 03:49 PM   #3
Flofey
Little Clucker
 
Flofey's Avatar
 
Join Date: Oct 2018
Location: South the moon
Posts: 32
Reputation: 11
Default Re: y_ini problem

the line:

PHP Code:
Bit_Set(readstarttrueINI_BUFFER_SIZE); 
above it:

PHP Code:
if (!Bit_GetBit(readstart) && !strcmp(nameYSI_g_sINIWriteBuffer[_:file][start][E_INI_WRITE_NAME]))
                        {
                            
Bit_Set(readstarttrueINI_BUFFER_SIZE);
                            
// Delete the current entry from the file, as per
                            // our request.
                            
if (YSI_g_sINIWriteBuffer[_:file][start][E_INI_WRITE_TEXT][0] == -1)
                            {
                                
// Can't use "continue" as we're in an inner
                                // loop.
                                
goto INI_WriteBuffer_cont2;
                            } 
__________________
Discord: Flofey#8478
Flofey is offline   Reply With Quote
Old 12/01/2020, 05:49 PM   #4
Calisthenics
Gangsta
 
Join Date: May 2018
Posts: 948
Reputation: 167
Default Re: y_ini problem

Change to:
pawn Code:
Bit_Set(read, start, true);
You may consider using YSI 5 instead of YSI 3 though.
__________________
Calisthenics 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
y_ini problem. Kyance Scripting Help 5 27/10/2013 03:40 PM
big Problem in Y_INI nor15 Scripting Help 12 25/07/2013 02:24 AM
y_ini problem PjFord Scripting Help 4 07/04/2012 10:35 PM
y_ini big problem [RS]Monk Scripting Help 22 22/11/2011 08:16 PM
Problem with Y_ini(Big Problem with this Include+MV Panel) ServerScripter Scripting Help 2 04/09/2011 10:30 PM


All times are GMT. The time now is 12:33 AM.


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