Search found 148 matches

by 8guawong
Thu Sep 25, 2014 3:49 am
Forum: Plugin Development Support
Topic: player.color don't work
Replies: 7
Views: 5524

Open the file .../addons/source-python/packages/source-python/entities/datamaps.py and replace the line 48 by the following one. All the members I saw registered as FIELD_CHARACTER needs to be handled as integer. FieldTypes.CHARACTER: 'int', player.color = (0, 0, 255, 255) File '../addons/s...
by 8guawong
Thu Sep 25, 2014 3:44 am
Forum: Plugin Development Support
Topic: SayText() not working in CS:GO?
Replies: 25
Views: 18461

I'm assuming this is for CS:GO. If not, please let us know which game this is happening on. I covered this in my previous post: **Edit2: it seems that '\x20' and '\xA0' both "work" as they put a space at the front of the message. I'm not sure if that is the proper fix, but it seems to be the best w...
by 8guawong
Thu Sep 25, 2014 1:48 am
Forum: Plugin Development Support
Topic: player.color don't work
Replies: 7
Views: 5524

player.color don't work

player.color = (255, 0, 0, 255) 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.rendermod...
by 8guawong
Thu Sep 25, 2014 1:18 am
Forum: Plugin Development Support
Topic: SayText() not working in CS:GO?
Replies: 25
Views: 18461

by 8guawong
Thu Sep 25, 2014 12:25 am
Forum: Plugin Development Support
Topic: SayText() not working in CS:GO?
Replies: 25
Views: 18461

color is not working...

Syntax: Select all

SayText2(message='\x03abcd').send()


but

Syntax: Select all

SayText2(message='a\x03bcd').send()


will have color for bcd
by 8guawong
Wed Sep 24, 2014 11:11 pm
Forum: Plugin Development Support
Topic: Why doesn't this work?
Replies: 5
Views: 4933

Please, always provide your entire code (including the imports, etc.) and the content of all related files (in your case, allowed.txt...), as well. That said, parsing the allowed.txt file every time a player spawn is a little bit excessive, no? You should parse it once in the global scope and/or in...
by 8guawong
Wed Sep 24, 2014 4:39 pm
Forum: Plugin Development Support
Topic: Blinding players and changing models
Replies: 22
Views: 15427

so does it work BackRaw?? ;)
by 8guawong
Wed Sep 24, 2014 4:17 pm
Forum: Plugin Development Support
Topic: Why doesn't this work?
Replies: 5
Views: 4933

Why doesn't this work?

Hello every1! I decided to try to convert my script from ES to SP so I can use my scripts in CSGO :grin: could some1 tell me why the following does not work? it always print not allowed... from path import Path from players.entity import PlayerEntity from players.helpers import index_from_userid fro...

Go to advanced search