Load string bugged - 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: Load string bugged (
/showthread.php?tid=589649)
Load string bugged -
ilepopivanov - 21.09.2015
PHP код:
if( strcmp( key , "Email" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pEmail] = strval( val ); }
if( strcmp( key , "TBroj" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTBroj] = strval( val ); }
if( strcmp( key , "Referal" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pReferal] = strval( val ); }
Why this loads are not working? I'm not getting any errors or warning on this :/ I have
Re: Load string bugged -
ilepopivanov - 21.09.2015
?
Re: Load string bugged -
Rogher - 25.09.2015
pReferal[128], ? Define .
// Reg - SacuvajIgraca
format(var, 32, "Referal=%s\n",PlayerInfo[playerid][pReferal]);fwrite(hFile, var);
//Logins
if( strcmp( key , "Referal" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pReferal], val, 0, strlen(val)-1, 255); }
- Filip Trajkov :P