House payday
#3

I'm guessing the "house" variable is for each player? If so, then you need to change the
Код:
new house;
to
Код:
new house[MAX_PLAYERS];
then do this
Код:
if(IsAGangMember(i)) return SendClientMessage(i, COLOR_ERROR, "(!) {FFFFFF}Deti o casa langa un HQ nu platesti nici o taxa deoarece esti membru Gang/Mafie");
			{
				if(house[i] != 1 || house[i] != 2 || house[i] != 3)
				{
					GivePlayerCash(i, -100);
					format(gString, sizeof(gString), "(!) {FFFFFF}Protection Fee: You have a house next to a {00F2FF}Los Aztecas {FFFFFF}HQ, you payed 100{00FF00}$ {FFFFFF}for protection.");
					SendClientMessage(i, COLOR_SYN2, gString);
					format(gString, sizeof(gString), "(!) {00F2FF}Los Aztecas Member: {FFFFFF}Say thanks, we could beat you and rape your wife, but we accept money to.");
					SendClientMessage(i, COLOR_SYN2, gString);
				}
			}
Reply


Messages In This Thread
House payday - by StR_MaRy - 21.09.2016, 18:05
Re: House payday - by oMa37 - 21.09.2016, 18:07
Re: House payday - by Luis- - 21.09.2016, 18:07
Re: House payday - by StR_MaRy - 21.09.2016, 18:23

Forum Jump:


Users browsing this thread: 2 Guest(s)