Help - 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: Help (
/showthread.php?tid=303439)
Help -
OFirst - 13.12.2011
like comparing which number is greater?
stock number()
{
new i = 10;
new ii = 20;
new iii = 30;
new iiii = 40;
new iiiii = 50;
new iiiii = 60;
new iiiiii = 70;
new iiiiiii = 80;
new iiiiiiii = 90;
new iiiiiiiii = 100;
return more;
}
I do not know do comparison =\
Re: Help -
Ballu Miaa - 13.12.2011
What do you mean? Who do you exactly want?
Respuesta: Help -
OFirst - 13.12.2011
i want to compare which variable out of 10 different ones has the highest value, but I'm not sure how to do it
Re: Help -
Ballu Miaa - 13.12.2011
Why do you need it??There might be a reason for the comparison?,right? Use the Swich case then or you can use If case's for that as well!