Moneybag System Help
#3

Код:
public MoneyBag()
{
	if(!MoneyBagFound)
	{
		format(strg, sizeof(strg), ""red"MONEYBAG: "white"The "yellow"money bag "white"still hasn't been found in: "orange"%s", MoneyBagLocation);
		SendClientMessageToAll(-1, strg);
	}
	else if(MoneyBagFound)
	{
		MoneyBagFound = 0;
		new randombag = random(sizeof(MBSPAWN));
		MoneyBagPos[0] = MBSPAWN[randombag][XPOS];
		MoneyBagPos[1] = MBSPAWN[randombag][YPOS];
		MoneyBagPos[2] = MBSPAWN[randombag][ZPOS];
		format(MoneyBagLocation, sizeof(MoneyBagLocation), "%s", MBSPAWN[randombag][Positions]);
		format(strg, sizeof(strg), ""red"MONEYBAG: "white"A Money Bag is placed somewhere in "yellow"%s, "white"Go for it. It contains big cash!", MoneyBagLocation);
		SendClientMessageToAll(-1, strg);
		DestroyPickup(MoneyBagPickup);
		MoneyBagPickup = CreatePickup(1550, 2, MoneyBagPos[0], MoneyBagPos[1], MoneyBagPos[2], -1);
	}
	return 1;
}
this ?
Reply


Messages In This Thread
Moneybag System Help - by TazmaNiax - 19.05.2014, 11:18
Re: Moneybag System Help - by TazmaNiax - 19.05.2014, 11:31
Re: Moneybag System Help - by TazmaNiax - 19.05.2014, 11:40
Re: Moneybag System Help - by TazmaNiax - 19.05.2014, 11:46
Re: Moneybag System Help - by TazmaNiax - 19.05.2014, 12:39

Forum Jump:


Users browsing this thread: 1 Guest(s)