SA-MP Forums Archive
BIG PROB. - 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: BIG PROB. (/showthread.php?tid=172603)



BIG PROB. - AndriusZ* - 30.08.2010

SORRRRY :X


Re: BIG PROB. - CyNiC - 30.08.2010

A suggestion: Use switch to your code stay more clean a little more fast.

Example:

Actual:

pawn Код:
if(playerDB[playerid][specialybe] == 0) darbas = "Bedarbis";
else if(playerDB[playerid][specialybe] == 1) darbas = "Pareigunas";
With Switch:
pawn Код:
switch(playerDB[playerid][specialybe])
{
    case 0: darbas = "Bedarbis";
    case 1: darbas = "Pareigunas";  
}



Re: BIG PROB. - AndriusZ* - 30.08.2010

SORRY FOR THAT...


Re: BIG PROB. - AndriusZ* - 30.08.2010

REMOVEEEE


Re: BIG PROB. - CAR - 30.08.2010

forgot a braket
pawn Код:
switch(playerDB[playerid][lytis])
{
   case 0: lytiz = "Moteris";
   case 1: lytiz = "Vyras";
}
return 1;



Re: BIG PROB. - AndriusZ* - 30.08.2010

REMOVEEEE


Re: BIG PROB. - AndriusZ* - 30.08.2010

superduberuberfail


Re: BIG PROB. - AndriusZ* - 30.08.2010

REMOVEEE


Re: BIG PROB. - AndriusZ* - 30.08.2010

REMOVEEE