16.04.2008, 16:43
basically its VERY simple...
@ OnGameModeInit()
just use CreateMapIcon for every house u have - you can check to see if the house is owned then make the house icon model represent owned or not owned - u can do that at the intial stage or simply run a process afterwards and use the ChangeMapIconInfo command to set the icon to the sold house icon
again when someone buys or sells a house simply use the changemapiconinfo command to set the icon to the corresponding model
post up ur code though if u like and i can insert the system - now the commands are all hardcoded it shud be a piece of cake to set up
@ OnGameModeInit()
just use CreateMapIcon for every house u have - you can check to see if the house is owned then make the house icon model represent owned or not owned - u can do that at the intial stage or simply run a process afterwards and use the ChangeMapIconInfo command to set the icon to the sold house icon
again when someone buys or sells a house simply use the changemapiconinfo command to set the icon to the corresponding model
post up ur code though if u like and i can insert the system - now the commands are all hardcoded it shud be a piece of cake to set up