11.04.2014, 13:19
I love this tutorial it's awesome! But I'm having a problem that I hope I can get answered quickly pleaseee s:
So basically I'm creating a house system following this tutorial but I dont know what to do with this line:
stock HouseGet(houseid)
{}
I need something to get the coordinates of the Pickup that I created in the :
Please some help is really mutch appreciated! Thanks (:
So basically I'm creating a house system following this tutorial but I dont know what to do with this line:
stock HouseGet(houseid)
{}
I need something to get the coordinates of the Pickup that I created in the :
Quote:
stock HouseCreate(name, Float:houseLoc[3], interior, owner[], price, locked) { new houseid = HouseGetFreeSlot(); HouseInfo[houseid][hName] = houseName; HouseInfo[houseid][hLoc] = houseLoc; HouseInfo[houseid][hInt] = houseInt; format(HouseInfo[houseid][hOwner], MAX_PLAYER_NAME, houseOwner); HouseInfo[houseid][hPrice] = housePrice; HouseInfo[houseid][hLocked] = houseLocked; HouseInfo[houseid][hID] = CreatePickup(1273, 1, houseLoc[0], houseLoc[1], houseLoc[2], -1); <---------------------------------- hCreated[houseid] = true; HouseLock(houseid, HouseInfo[houseid][hLocked]); return houseid; } |