22.02.2011, 11:19
(
Последний раз редактировалось jameskmonger; 22.02.2011 в 16:13.
)
I made a very basic housing system today, I felt the need to contribute to the community.
I don't have SAMP on this computer so it hasn't been tested, but it has been thoroughly checked and should work (Although tell me if you see any bugs!)
I don't have SAMP on this computer so it hasn't been tested, but it has been thoroughly checked and should work (Although tell me if you see any bugs!)
jHouse
Instructions
Open up the script and READ the comments at the top. Make sure you follow them if they have instructions.
Compile the script.
Put the script in your filterscripts folder.
Add it to server.cfg.
Run!
Add-ons
You will need:
zcmd (put it in pawno/includes)
G-sTyLeZzZ's MySQL Plugin (Instructions in the thread)
In-game commands
House creation: /createhouse, /setprice
Entering and exiting: /enterhouse, /exithouse
Miscellaneous: /lockhouse, /buyhouse
(I've probably missed some but these are the needed ones.)
Creating a house
Go to the spot you want the exterior (the place they type /enterhouse) to be.
Type /createhouse exterior
Go to the spot you want them to be teleported to after they enter (the interior).
Type /createhouse inteior
Type /createhouse finish
Bugs/requests
I will fix any bugs (or atleast attempt) and will take all requests/suggestions into consideration.
Download(s)
Pastebin
If you want to make a mirror, just post it on the thread and I'll update it.
Enjoy the script, that's what it's there for!
- jameskmonger
Instructions
Open up the script and READ the comments at the top. Make sure you follow them if they have instructions.
Compile the script.
Put the script in your filterscripts folder.
Add it to server.cfg.
Run!
Add-ons
You will need:
zcmd (put it in pawno/includes)
G-sTyLeZzZ's MySQL Plugin (Instructions in the thread)
In-game commands
House creation: /createhouse, /setprice
Entering and exiting: /enterhouse, /exithouse
Miscellaneous: /lockhouse, /buyhouse
(I've probably missed some but these are the needed ones.)
Creating a house
Go to the spot you want the exterior (the place they type /enterhouse) to be.
Type /createhouse exterior
Go to the spot you want them to be teleported to after they enter (the interior).
Type /createhouse inteior
Type /createhouse finish
Bugs/requests
I will fix any bugs (or atleast attempt) and will take all requests/suggestions into consideration.
Download(s)
Pastebin
If you want to make a mirror, just post it on the thread and I'll update it.
Enjoy the script, that's what it's there for!
- jameskmonger