27.04.2011, 09:03
(
Last edited by Kwarde; 05/11/2011 at 01:49 PM.
)
Quote:
You will always need to start from "if(listitem == 0)" |
Also, you can use:
pawn Code:
switch(listitem)
{
case 0: //Do something
case 1: //Do something
case 2: //Do something
// Etc
default: //None of the cases above
}
pawn Code:
if(listitem == 0) //Do something
if(listitem == 1) //Do something
if(listitem == 2) //Do something
// Etc
if(listitem != 0 && listitem != 1 && listitem != 2) // None of the cases above
Quote:
Register/login sistem by Kwarde http://forum.sa-mp.com/showthread.ph...OG_STYLE_INPUT |
But this is a nice tutorial though