Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Give- / Removeitems on Focus
#4
There is a function called "getPlayerFocus" on server-side, look inside Functions.txt and you'll find it's 'declaration'.
The function has one parameter, which is the id of player whose 'focus id' you want to get.
For example, if i am player (id 0), and you are player (id 1), and i focused you, then, when you call this function like this:
Code:
local focus = getPlayerFocus(0)
print(focus) // this will print 1

Of course, the above code is only a dummy example.
Reply


Messages In This Thread
RE: Give- / Removeitems on Focus - by Patrix - 10.06.2020, 16:04

Possibly Related Threads…
Thread Author Replies Views Last Post
  Give random item for Player liegav 6 6,360 14.02.2018, 18:30
Last Post: Patrix
  Short question about Gold, how to give it ? Mattwell 2 3,427 26.01.2018, 00:12
Last Post: Mattwell

Forum Jump:


Users browsing this thread: 1 Guest(s)