Syntax: Select all
player.color = (255, 0, 0, 255)
Code: Select all
File '../addons/source-python/packages/source-python/entities/entity.py', line 241, in __setattr__
super(BaseEntity, self).__setattr__(attr, value)
File '../addons/source-python/packages/source-python/entities/entity.py', line 312, in set_color
self.rendermode = self.rendermode | 1
File '../addons/source-python/packages/source-python/entities/entity.py', line 235, in __setattr__
self.datamaps[attr]._set_value(value)
File '../addons/source-python/packages/source-python/entities/datamaps.py', line 368, in _set_value
getattr(self.current_pointer, self.set_attr)(value, self.offset)
Boost.Python.ArgumentError: Python argument types in
Pointer.set_char(Pointer, int, int)
did not match C++ signature:
set_char(CPointer {lvalue}, char, int offset=0)