SA-MP Forums Archive
Dudb question - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Dudb question (/showthread.php?tid=119801)



Dudb question - SiJ - 09.01.2010

Hey,
I'm using dudb to save player accounts..
If I want to get value from files of connected player files, I use
pawn Код:
for(new=-; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i)
{
if(dUserINT(PlayerName(i).("Value") != 0)
{
//do something
}
}
}
This code would check all connected player's account file for "Value" and will check if it's not 0..
But how would I check all account files for a "Value" (even disconnected player's files)?