some strings errors
#2

pawn Код:
if(strcmp(BizInfo[ClosestBiz(playerid)][owner],PlayerInfo[playerid][name],false) == 0)
                {
                    new string[128];
                    format(string, sizeof(string), "You already own this Business (%s)", BizInfo[ClosestBiz(playerid)][name]);
                    SendClientMessage(playerid, COLOR_BRIGHTRED, string);
                    return 1;
                }
                if(BizInfo[ClosestBiz(playerid)][bought] == 1)
                {
                    new string[128];
                    format(string, sizeof(string), "This Business (%s) is owned by %s, and is not for sale!", BizInfo[ClosestBiz(playerid)][name], BizInfo[ClosestBiz(playerid)][owner]);
                    SendClientMessage(playerid, COLOR_BRIGHTRED, string);
                    return 1;
                }
Reply


Messages In This Thread
some strings errors - by KillerStrike23 - 13.06.2014, 22:42
Re: some strings errors - by xFirex - 13.06.2014, 22:53

Forum Jump:


Users browsing this thread: 1 Guest(s)