[Tutorial] How to create a vehicle system using Y_INI and Y_CMD
#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 :

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;
}

Please some help is really mutch appreciated! Thanks (:
Reply


Messages In This Thread
How to create a vehicle system using Y_INI and Y_CMD - by T0pAz - 16.02.2013, 04:50
Re: How to create a vehicle system using Y_INI and Y_CMD - by seanny - 16.02.2013, 08:19
Re: How to create a vehicle system using Y_INI and Y_CMD - by xDaidal0S - 16.02.2013, 09:15
Re: How to create a vehicle system using Y_INI and Y_CMD - by THE_KING$5$ - 16.02.2013, 09:18
Re: How to create a vehicle system using Y_INI and Y_CMD - by Jason_Dealley - 16.02.2013, 11:44
Re: How to create a vehicle system using Y_INI and Y_CMD - by T0pAz - 16.02.2013, 15:46
Re: How to create a vehicle system using Y_INI and Y_CMD - by DiGiTaL_AnGeL - 16.02.2013, 17:20
Re: How to create a vehicle system using Y_INI and Y_CMD - by Cameryn - 17.02.2013, 15:52
Re: How to create a vehicle system using Y_INI and Y_CMD - by TommyVer - 21.02.2013, 22:34
Re: How to create a vehicle system using Y_INI and Y_CMD - by [CG]Milito - 21.02.2013, 23:28
Re: How to create a vehicle system using Y_INI and Y_CMD - by Cameryn - 22.02.2013, 03:54
Respuesta: How to create a vehicle system using Y_INI and Y_CMD - by CrossOv3r - 24.02.2013, 00:28
AW: How to create a vehicle system using Y_INI and Y_CMD - by Blackazur - 24.02.2013, 11:57
AW: How to create a vehicle system using Y_INI and Y_CMD - by Ryan_Obeles - 24.02.2013, 12:56
Re: AW: How to create a vehicle system using Y_INI and Y_CMD - by Cameryn - 24.02.2013, 16:51
AW: How to create a vehicle system using Y_INI and Y_CMD - by Ryan_Obeles - 25.02.2013, 09:05
Re: AW: How to create a vehicle system using Y_INI and Y_CMD - by Cameryn - 25.02.2013, 18:10
Re: How to create a vehicle system using Y_INI and Y_CMD - by MadafakaPro - 07.04.2013, 11:58
Re: How to create a vehicle system using Y_INI and Y_CMD - by mrkiller90 - 11.04.2014, 13:19
Re: How to create a vehicle system using Y_INI and Y_CMD - by BleverCastard - 11.04.2014, 21:58
Re: How to create a vehicle system using Y_INI and Y_CMD - by Hayden_Almeida - 16.11.2015, 21:55
Re: How to create a vehicle system using Y_INI and Y_CMD - by Hayden_Almeida - 17.11.2015, 17:06
Re: How to create a vehicle system using Y_INI and Y_CMD - by N0FeaR - 19.11.2015, 06:36
Re: How to create a vehicle system using Y_INI and Y_CMD - by Karan007 - 19.11.2015, 09:18
Re: How to create a vehicle system using Y_INI and Y_CMD - by Hayden_Almeida - 20.11.2015, 13:00
Re: How to create a vehicle system using Y_INI and Y_CMD - by DiamondGaming - 25.12.2017, 15:01
Re: How to create a vehicle system using Y_INI and Y_CMD - by DiamondGaming - 25.12.2017, 15:12
Re: How to create a vehicle system using Y_INI and Y_CMD - by Matyaas - 22.02.2018, 04:17
Re: How to create a vehicle system using Y_INI and Y_CMD - by freddiebox - 01.04.2018, 10:57

Forum Jump:


Users browsing this thread: 1 Guest(s)