SA-MP Forums Archive
House help ! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: House help ! (/showthread.php?tid=435145)



House help ! - Kirchhoff - 05.05.2013

Hi I have a gamemode but I don't know how to add a house . This is how an example from property.cfg look like

2067.704833,-1628.859130,14.206600,1.200000,-3.400000,999.400024,0,0,0,0,0,0,The State,House,2000000,0,0,2,1,0,0,1000,0,3045,418,15 ,0
2066.738281,-


and the house info :
pawn Код:
enum hInfo
{
    Float:hEntrancex,
    Float:hEntrancey,
    Float:hEntrancez,
    Float:hExitx,
    Float:hExity,
    Float:hExitz,
    hHealthx,
    hHealthy,
    hHealthz,
    hArmourx,
    hArmoury,
    hArmourz,
    hOwner[MAX_PLAYER_NAME],
    hDiscription[MAX_PLAYER_NAME],
    hValue,
    hHel,
    hArm,
    hInt,
    hLock,
    hOwned,
    hRooms,
    hRent,
    hRentabil,
    hTakings,
    hDate,
    hLevel,
    hVW,
};

and I would like to create a house with this interior
328.05 1477.73 1084.44 15- interior id