Help, Dini question
#1

Hi Sa-mp.

I have a question about dini.
I've made a "planttree" command, that saves the players tree in a file with +1 (no objects made so far).

The question comes here.
I'd like to save the players location to that tree, so that when any player is nearby the tree, he can /cuttree and it will remove the tree from the owner. (the person who planted the tree). -1 for owner.


Is that possible?
If so, how can i do that?


Thanks.
Reply
#2

I hope this helps a little bit
https://sampwiki.blast.hk/wiki/Useful_Fu....28Dini.inc.29
Reply
#3

I did try look at it though.
I can't seem to find a solution. but thanks.
Reply
#4

Quote:
Originally Posted by Faith
I did try look at it though.
I can't seem to find a solution. but thanks.
https://sampwiki.blast.hk/wiki/GetPlayerPos
GetPlayerPos might be the solution.
Reply
#5

Might be that yes, but how do i write it to a userfile?


And then the other part comes.
How do i dini_Get it out, and then make the owner of the tree -1, when someone cuts the tree?
Reply
#6

Uhmmm... I'm trying to learn DINI myself right now
So sorry I can't help you
http://forum.sa-mp.com/index.php?topic=126584.0
Try to study that
Reply
#7

I've still not been able to make this to work.
Any other suggestions that i could do?

Thanks


I'm trying to figure out another way...
Reply
#8

Dini to save stuff is the best way to go...(:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)