21.09.2016, 18:07
I'm guessing the "house" variable is for each player? If so, then you need to change the
to
then do this
Код:
new house;
Код:
new house[MAX_PLAYERS];
Код:
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); } }