• 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!

Get house(townid)

raelpsf

Member
Joined
Jul 3, 2010
Messages
166
Reaction score
5
I need a function...

something like that...


If gethouse(townid) == 1 and getplayer(townid) ~= 1 then
return cancel

Need to block some cities for not accept players from other cities renting houses.
 
I hope you meant to get the town of the house, not the house of a town (??).
This is already possible.

Code:
if getHouseTown(houseid) ~= getPlayerTown(cid) then
....
else
....
end
 
Back
Top Bottom