SA-MP Forums Archive
HElp at: Biz enumeration - 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 at: Biz enumeration (/showthread.php?tid=338899)



HElp at: Biz enumeration - calin1996 - 01.05.2012

How i can do a biz enumeration? ex:
pawn Код:
if(biz == 1||biz==2...etc)
{
SendClientMessage(playerid, COLOR_RED, "Look! A biz");
}



Re: HElp at: Biz enumeration - Carbonite - 01.05.2012

Код:
switch(biz)
{

case 1, 2:
{

SendClientMessage(playerid, COLOR_RED, "Look! A biz");

}

}
You mean something like this?