Creating Houses & Business
#1

Can anyone show me a preview of the script snippets to add houses and businesses with levels, rent/racketeering options an a price. adding green house icon on map
Reply
#2

The easiest way is to create an enum like:
pawn Code:
#define MAX_HOUSES somenumber

enum hInfo
{
  ID,
  Price,
  Float:X,
  //etc
}
new HouseInfo[MAX_HOUSES][hInfo];
You should have all that info saved somewhere (file, SQL, etc) if you want to have them more "dynamic". For those green icons use pickups.
You should take a look at GF, Carlito's, etc where you can get general idea of how to start, but then how cool you make it is a thing of your imagination
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)