Nottinghster
Tibia World RPG Developer
- Joined
- Oct 24, 2007
- Messages
- 1,618
- Solutions
- 6
- Reaction score
- 537
- Location
- Brazil - Rio de Janeiro
- GitHub
- Nottinghster
Can someone give me the full explanation of this function?
Like, what are the values? getPlayerByAccountNumber(acc).
Also, what does it do?
How it work?
Like, what are the values? getPlayerByAccountNumber(acc).
Also, what does it do?
How it work?
Code:
function getPlayerByAccountNumber(acc)
players = getPlayersByAccountNumber(acc)
if #players == 0 then
return 0
end
return players[1]
end