Y_INI Problem !
#1

FIXED !
Never Mind!
Reply
#2

No One Can Help !!
Please Help !!
Reply
#3

Did you load the include correctly?

Код:
#include <YSI\y_ini>
Reply
#4

Quote:
Originally Posted by amirm3hdi
Посмотреть сообщение
Did you load the include correctly?

Код:
#include <YSI\y_ini>
I Have Been Load the Include Correctly But .. The Is That !
You Know to Fix that ?
Reply
#5

Quote:
Originally Posted by Amunra
Посмотреть сообщение
I Have Been Load the Include Correctly But .. The Is That !
You Know to Fix that ?
I've never used INI file reading/writing, I use mysql and json,
But I know when a function is undefined, you never defined it or you're missing the include.
Reply
#6

I Use Correctly Include
PHP код:
#include <a_samp>
#include <YSI\y_ini>
#include <zcmd> 
That's My Using Include !
What the Problem ?
Reply
#7

Try to use the length parameter.

Код:
forward load_gang_data_basic(playerid, name[], value[]); 
public load_gang_data_basic(playerid, name[], value[]) 
{ 
    INI_String("Gang Owner", Gang[playerid][order], sizeof(Gang[playerid][order]));
    INI_String("Gangs Member", Gang[playerid][gid], sizeof(Gang[playerid][gid]));
}
Код:
INI_String(name[], variable , length );
Reply
#8

Quote:
Originally Posted by amirm3hdi
Посмотреть сообщение
Try to use the length parameter.

Код:
forward load_gang_data_basic(playerid, name[], value[]); 
public load_gang_data_basic(playerid, name[], value[]) 
{ 
    INI_String("Gang Owner", Gang[playerid][order], sizeof(Gang[playerid][order]));
    INI_String("Gangs Member", Gang[playerid][gid], sizeof(Gang[playerid][gid]));
}
Код:
INI_String(name[], variable , length );
Never Mind,
Now I Fixed That !

I Forget to Add Value !

PHP код:
    INI_String("Gang Owner"Gang[playerid][order] ,24);
    
INI_String("Gangs Member"Gang[playerid][gid] ,4); 
And enum value !

Thanks For Respond !


Note:FIXED!!
Reply
#9

Quote:
Originally Posted by Amunra
Посмотреть сообщение
Never Mind,
Now I Fixed That !

I Forget to Add Value !

PHP код:
    INI_String("Gang Owner"Gang[playerid][order] ,24);
    
INI_String("Gangs Member"Gang[playerid][gid] ,4); 
And enum value !

Thanks For Respond !


Note:FIXED!!
LOL That's what I told you, LENGTH PARAMETER...
Damn
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)