Create House
#1

in property.cfg i have some houses
EX:
866.564208,-1798.929809,13.815690,235.300003,1187.099975,1080. 199951,0,0,0,0,0,0,The State,LS House,3000000,0,0,3,1,0,0,100,0,0,479,-1,-1,169,5,93

/save - coordonates
866.5097,-1798.9147,13.8157,87.1788

I have tried to make a new house but it doesn't work

/save coordonates
484.8501,-1640.3428,23.7031,336.9895

in property.cfg i have added
484.8501,-1640.3428,23.7031,235.300003,1187.099975,1080.1999 51,0,0,0,0,0,0,The State,LS House,3000000,0,0,3,1,0,0,100,0,0,479,-1,-1,169,5,93


can someone help me with this
?
Reply
#2

Check this!
https://sampforum.blast.hk/showthread.php?tid=283602
Choose one House System you like it and test it to your server.
Reply
#3

Hey I can help you out, Thats the same house system iv worked with.

The first 3 sets of numbers are X,Y,Z for location of the entrance.
The next 3 sets of numbers are X,Y,Z for location of the house exit( inside the interia)
Then They is the X,Y,Z for the Health pack
Next is the X,Y,Z for the Armor pack
Then The owners name( the person who owns the house, The State IS there so it sets it for sale)
Next is basic infomation about the house. Like bedsit, trailer, 3 bedroomed house.
The Price/value of the house
Health Amount
Armor Amount
Interia id
House locked( when it is bought 0 = open 1 = locked )
HOuse owned ( 0 = house is forsale 1 = house is bought by someone)
Rooms ( amount of people can rent this)
Rent( the price of rent when bought)
Rentabli( i dont know what this does)
Takings ( i dont know what this does)
Vehicle( this is from when they used to have house vehicles) set to 0
Vehicle color 1 ( set to 0)
Vehicle color 2 (set to 0)
House date( i DOnt know what this does)
House level ( the level you have to be to buy it)
House world( you start at 1 then just keep counting down for the amount of houses you have)

Also in the gamemode set

new HouseInfo[79][hInfo];

The number to the amount of houses you have and add 1.

Hope this helps.

If you want any more help with this house system and creating houses just message me.

Enjoy
Reply
#4

Quote:
Originally Posted by Kostas'
Посмотреть сообщение
Check this!
https://sampforum.blast.hk/showthread.php?tid=283602
Choose one House System you like it and test it to your server.
Are you dumb? Did you even read his post?
Reply
#5

Still, Its easyer the telling him the him looking for the right one
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)