Quote:
Originally Posted by Albator
Ie; require a pickaxe to be equipped so you can pick up the rock pile? How would one go about coding that? Like which server code file would be a good start .
|
its been a while since I actually coded but it would go like this:
You "hail" the Rockpile
Rockpile offers you a click link "mine"
You click "mine" - the code runs and checks if you have Pick Axe equipped, then it checks a client variable where it stores your Mining Skill, forces attack animation on our char and produces result