06.01.2013, 06:44
(
Последний раз редактировалось Sasino97; 06.01.2013 в 07:34.
)
Thanks you all !
You can disable them, look MAP_ICONS definition, you can set it to 0.
First go in your server, go near the door of a house and select /savehouse, do so also for stores and do /savestore or /savebiz.
When you quit, go in your scriptfiles folder and in the folder Sasinosoft/Houses and /Shops there should be one file in each of them. The 2 files contain the houses and stores you saved, copy them in your game mode, and search on internet for house interior coordinates. I'm thinking also to add default interiors in version 3.0, so the people don't have to search on the internet for coordinates.
For stores, it's a bit more complicate, because after adding them you may want to add an item menu, and then you should use the callback to do something, for example giving the user a weapon or health or setting a pvar etc...
I added more information to the thread
There's a key to press to open the menu, default is Submission key, but you can change it:
I avoided to set Enter as default because if a vehicle is near there the player enters it.
You can disable them, look MAP_ICONS definition, you can set it to 0.
First go in your server, go near the door of a house and select /savehouse, do so also for stores and do /savestore or /savebiz.
When you quit, go in your scriptfiles folder and in the folder Sasinosoft/Houses and /Shops there should be one file in each of them. The 2 files contain the houses and stores you saved, copy them in your game mode, and search on internet for house interior coordinates. I'm thinking also to add default interiors in version 3.0, so the people don't have to search on the internet for coordinates.
For stores, it's a bit more complicate, because after adding them you may want to add an item menu, and then you should use the callback to do something, for example giving the user a weapon or health or setting a pvar etc...
I added more information to the thread
Quote:
Looks uber awesome... Except I still prefer at least one command, like /house to open the dialog. It's more than pain in the ass when you walk near a door and the stupid dialog pops out lol. Also you should be abled to enter with just pressing 'F'.
|
pawn Код:
#define KEY KEY_LOOK_BEHIND // The key to press to open dialogs
#define KEY_STRING "\"MMB\"" // The same, but in a string
pawn Код:
#define KEY KEY_SECONDARY_ATTACK
#define KEY_STRING "\"Enter\""