Players Entity
Posted: Sun Mar 06, 2016 6:34 pm
Good afternoon, I'm starting to develop plugins with sp.
At first, as a form of apprenticeship, I'm trying to create my own reset score, show damage, and other simple things.
I downloaded some addons and found some properties related to the player entity. but I wanted to see all... Where can I find these packages?
I tried to dump the entity player in many ways...
however I expect to receive all the attributes, but I got this:
{'_index': 1, '_playerinfo': None, '_edict': None, '_pointer': None}
I have some experience with php and javascript.
If someone can show me a good starting point
At first, as a form of apprenticeship, I'm trying to create my own reset score, show damage, and other simple things.
I downloaded some addons and found some properties related to the player entity. but I wanted to see all... Where can I find these packages?
I tried to dump the entity player in many ways...
Code: Select all
from players.entity import Player
def load():
player = Player (1)
print (vars (player))
however I expect to receive all the attributes, but I got this:
{'_index': 1, '_playerinfo': None, '_edict': None, '_pointer': None}
I have some experience with php and javascript.
If someone can show me a good starting point