22.10.2014, 19:18
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?
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;
}