y_ini problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: y_ini problem (
/showthread.php?tid=537761)
y_ini problem -
arad55 - 17.09.2014
I'm trying to define my password as INI_String but it won't work but as INI_Int it would. What is the problem here?
pawn Код:
enum pInfo
{
pPass,
pCash,
pAdmin,
pKills,
pDeaths
}
new PlayerInfo[MAX_PLAYERS][pInfo];
INI_String("Password",PlayerInfo[playerid][pPass]);
Re: y_ini problem -
Stinged - 17.09.2014
Change pPass in your enum to pPass[MAX SIZE OF STRING HERE]
If you're using Whirlpool hash, then use 129 as the max size.
Re: y_ini problem -
arad55 - 17.09.2014
Thanks, fixed it!
+REP