SA-MP Forums Archive
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( strcmpkey "Email" true ) == ) { val ini_GetValueData ); PlayerInfo[playerid][pEmail] = strvalval ); }
                    if( 
strcmpkey "TBroj" true ) == ) { val ini_GetValueData ); PlayerInfo[playerid][pTBroj] = strvalval ); }
                    if( 
strcmpkey "Referal" true ) == ) { val ini_GetValueData ); PlayerInfo[playerid][pReferal] = strvalval ); } 
Why this loads are not working? I'm not getting any errors or warning on this :/ I have
Код:
new Data[256];



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