22.08.2012, 16:19
Guys,i made a Business System.It saves the owner on the icon.But after he enters inside,and tryes to use /vault for his cash or anything else,it says You Don't Own a Business.
if(PlayerInfo[i][Owned] == 1 && strcmp(pName,BizInfo[i][Owner]) != 0) return SendClientMessage(playerid,-1,"You aren't the owner of this Business!");
PHP код:
((+rep if I helped thanks.;p)) |
if(BizInfo[i][bStatus] == 1 && strcmp(pName,BizInfo[i][bOwner]) != 0) return SendClientMessage(playerid,-1,"You aren't the owner of this Business!");