SA-MP Forums Archive
Extract the lowest number from a variable - 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: Extract the lowest number from a variable (/showthread.php?tid=335384)



Extract the lowest number from a variable - eDz0r - 18.04.2012

hello there the question is in a title i've tink something like this...
pawn Код:
new pLevel[MAX_PLAYERS];

foreach(Player, pID)
{
if(pID != playerid)
{
pLevel[pID] = PlayerLevel[pID];
}
}
ExtractLowestNumber(pLevel[pID]);

/*
pLevel = From where to take the number
PlayerLevel = Player variable
*/



Re: Extract the lowest number from a variable - eDz0r - 18.04.2012

okey i will try