housing system returns fault information
#2

pawn Code:
// his function returns "1" if the given player is the owner of the given house
stock House_PlayerIsOwner(playerid, HouseID)
{
   
        // Check if the player owns the house in any of his house-slots
    if (AHouseData[HouseID][Owner] == APlayerData[playerid][PlayerName])
    {
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
housing system returns fault information - by SomebodyAndMe - 10.06.2012, 20:16
Respuesta: housing system returns fault information - by CidadeNovaRP - 10.06.2012, 20:21
Re: housing system returns fault information - by SomebodyAndMe - 10.06.2012, 20:24
Re: housing system returns fault information - by SomebodyAndMe - 11.06.2012, 04:58
AW: housing system returns fault information - by Extremo - 11.06.2012, 05:03
Re: housing system returns fault information - by SomebodyAndMe - 11.06.2012, 05:11
Re: housing system returns fault information - by JhnzRep - 11.06.2012, 05:19

Forum Jump:


Users browsing this thread: 1 Guest(s)