Full bag warning is flooding
#3

I guess u get a spam of msg, and u want to show it just when all slots are unavaible (when bag it's full)

Код:
new i;
for(i = 0; i < 10; i++)
{
	if(Bag[playerid][i][Slot] == 0)
	{
		Bag[playerid][i][Slot] = 1279;
		Bag[playerid][i][Unity] = 100;
		return 1;
	}
}
if(i==10) SendClientMessage(playerid, -1, "Your bag is full.");
Reply


Messages In This Thread
Full bag warning is flooding - by Corin - 17.11.2018, 21:12
Re: Full bag warning is flooding - by ReD_HunTeR - 17.11.2018, 21:19
Re: Full bag warning is flooding - by kingmk - 17.11.2018, 21:24
Re: Full bag warning is flooding - by kingmk - 17.11.2018, 21:26
Re: Full bag warning is flooding - by CantBeJohn - 18.11.2018, 05:22
Re: Full bag warning is flooding - by kingmk - 18.11.2018, 22:16

Forum Jump:


Users browsing this thread: 1 Guest(s)