Quote:
Originally posted by ownerofbabylon
Alright, im working on the thing where you have to beat the mineral to 100% after it has been mined. I dont wanna use Put NPC so i have the npc already at the spot and its hidden and when the player says "Mineral at 1" it shows it at the station 1. Now I need to know how i should do it so that when someone is already at the point working on it, someone cant come in and say mineral at 1 and it replaces that persons.
And also what would be the way to do it so if no one hits it for 15 seconds it sets #a to no owner until someone hits it again and it sets the flag to owner is #a
|
well for your first question its easy when someone is hitting it or whatever placed a stone there you go like
this.stoneplaced=1;
and in the if/then that you check if they place it
add this
this.stoneplaced==1
next question would be really easy if you have a npc server...
but jw how are you saving what account owns it or whatever?
then mabie I can help