Entities
Understanding the entity system can be a bit complicated. With some examples and explanations, I hope you get to know them well!
Was this page helpful?
Understanding the entity system can be a bit complicated. With some examples and explanations, I hope you get to know them well!
"GetLocalInfo" returns a table of 4 elements.
xxxxxxxxxx
local local_info = GetLocalInfo()
Print(tostring(local_info[1])) --returns the local pawn address
Print(tostring(local_info[2])) --returns the local controller address
Print(tostring(local_info[3])) --returns the local index
Print(tostring(local_info[4])) --returns the local team