• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[HouseSystem] Advanced NPC

NilssoN042

Banned User
Joined
Sep 8, 2008
Messages
998
Reaction score
2
Location
Sweden, Helsingborg
[HouseSystem] Advanced

Hello! I have thinked on this thing for a very long time, I have thinked on make an very advanced server with custom scripts/map! and I need a very advanced script I think!

I will try to explain,

I will give all my houses name as 1-100 in numbers

I mean instead of use Green Street 1, i will use 1

so all houses got their number!

and i want an NPC that sells house, so I walk around the map and find a nice house! and then i look at the number for example the house i want is nr 53.. then i go to the NPC and say:

Player: Hi
NPC: Hi
Player: buy house 53
NPC: It costs (houseprice] are you willing to pay it?
Player: yes
NPC: Congratiolations now you own your own house!


I hope you understand if you dont please write here and i will try to explain more!
 
I had something similar like that in the old days. I just made it like this:

Player looks at a door: Housestreet 3

player: hi
npc: hi, wich house do you want to buy?
player: Housestreed 3

Npc teleports to the house and say /owner playername in it :p

that was the old version xD
 
Back
Top