Problems with stock
#1

Alright so I made this stock, now I wanna use it. But i dont udnerstand one thing, how can I use it now? I mean I have these errors and now I want to use for example:

Код:
return Errors(case0);
How to do that?

or like
Код:
Errors(NoMoney);
Код:
stock Errors(playerid)
{
	case 0:
	{
	    if(GetPlayerMoney(playerid) < 5000) return SendClientMessage(playerid, COLOR_RED, "<!>No money!");
	}
	case 1:
	{
	    if(GetPlayerWeapon(playerid) = 0) return SendClientMessage(playerid, COLOR_RED, "<!>No gun!");
	}
	return 1;
}
Reply


Messages In This Thread
Problems with stock - by Squirrel - 15.04.2013, 02:24
Re : Problems with stock - by DaTa[X] - 15.04.2013, 02:28
Re: Problems with stock - by Squirrel - 15.04.2013, 02:29
Re : Re: Problems with stock - by DaTa[X] - 15.04.2013, 02:33
Re: Problems with stock - by Squirrel - 15.04.2013, 02:35
Re: Problems with stock - by Squirrel - 15.04.2013, 02:38

Forum Jump:


Users browsing this thread: 1 Guest(s)