21.04.2015, 12:59
(
Последний раз редактировалось Djumza; 21.04.2015 в 17:00.
)
Hello guys .. today i want to try make House system, basic one ..But i don't know how to make it on my own..
Okey , i defined :
Do i need to define where is my database for houses ?!
Is this good ?
Anyways my biggest problem is what to do next ?
I wanted to make /createhouse cmd , but then i realized that i don't know how to get Exit and Enter coordinates in the same time ..
p.s. Sorry for my bad English , if u didn't understand something ill try to explain better ..
Okey , i defined :
pawn Код:
#define MAX_HOUSES 50
#define HDATA "/Houses/%s.ini"
pawn Код:
enum hInfo
{
hOwner[MAX_PLAYER_NAME],
hOwned,
hPrice,
hInterior,
Float:EnterX,
Float:EnterY,
Flota:EnterZ,
Float:ExitX,
Float:ExitY,
Flota:ExitZ,
hIcon,
h3DTextLabel
}
new HouseCount;
new HouseInfo[MAX_PLAYER_HOUSE],[hInfo];
Anyways my biggest problem is what to do next ?
I wanted to make /createhouse cmd , but then i realized that i don't know how to get Exit and Enter coordinates in the same time ..
p.s. Sorry for my bad English , if u didn't understand something ill try to explain better ..