Function bugged.
#1

Hello.

This function is used to return whether or not I own a house.

However, if I do not have a house it returns me that I have a ...

And if I have one, it also returns me that I have a ...

How?

pawn Код:
forward House_Proprio(playerid, iddhouse);
public House_Proprio(playerid, iddhouse)
{
    if(iddhouse == -1)
    {
        return 0;
    }
    if(strcmp(NameRequete[playerid], HouseInfo[iddhouse][Proprio], true) == 0)
    {
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Function bugged. - by Baltimore - 22.10.2014, 19:18
Re: Function bugged. - by Jefff - 22.10.2014, 20:48
Re: Function bugged. - by TakeiT - 22.10.2014, 21:01

Forum Jump:


Users browsing this thread: 1 Guest(s)