16.03.2012, 09:32
pawn Код:
enum hInfo
{
Float:hEnterX, //Entrance X. It's an float! example: 0.0000000. I'm gonna use the same with the other entrances/exits
Float:hEnterY,
Float:hEnterZ,
Float:hExitX,
Float:hExitY,
Float:hExitZ,
InsideInt, //The inside interior.. DUH!
InsideVir, //Already subscribed above
OutsideInt,
OutsideVir,
bool:hOwned, //boolean! Is house owned? NO = False, YES = True
hOwner[MAX_PLAYER_NAME], //The house owner! I'm gonna use MAX_PLAYER_NAME, because a player can't have a longer name :')
hPrice, //Will store the price
hPickup, //The pickup. This is used to remove/move the pickup icon!
hIcon, //The map icon. Also used to remove/move it! We are going to need an ID. Without an ID we can't do NOTHING!
hVecModel, //The housecar's model
hOutsideInt,
hOutsideVir,
hInsideInt,
hInsideVir,
Float:hVecX, //X location. En float too.
Float:hVecY,
Float:hVecZ,
Float:hVecA
};