How to make confirmation commands?
#1

Not sure how to go about this, I'm creating a /sellhouseto [playerid] [price] command for my script.
Wondering how I'd go about making that dependant on the other player typing in a /accepthouse command how do I go about this?
Reply
#2

I would use the current house data asset to store the offer and given parameters. For example HouseInfo[][offerID].

Then either loop through the first dimension of all houses on /acceptoffer or store the houseID in the player data asset.
Reply
#3

Quote:
Originally Posted by introzen
Посмотреть сообщение
I would use the current house data asset to store the offer and given parameters. For example HouseInfo[][offerID].

Then either loop through the first dimension of all houses on /acceptoffer or store the houseID in the player data asset.
Thanks used this idea and got it working, Have some rep!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)