Search found 148 matches

by 8guawong
Thu Oct 23, 2014 1:21 pm
Forum: Whatever
Topic: Hi all!
Replies: 3
Views: 5527

Hi all!

Hello any news on development of SP????
:cool:
by 8guawong
Wed Oct 15, 2014 3:06 am
Forum: Plugin Development Support
Topic: Question about setting models
Replies: 6
Views: 5260

That class was just recently added. It is not included in the current release, which nearly a month old. I was hoping to get the entities_changes branch complete and merged with the master branch before posting a new release. yea thats what i was guessing... guess i'll wait for new version out to t...
by 8guawong
Wed Oct 15, 2014 2:13 am
Forum: Plugin Development Support
Topic: Question about setting models
Replies: 6
Views: 5260

thanks for the explanination [SP] Caught an Exception: Traceback (most recent call last): File '../addons/source-python/packages/source-python/plugins/manager.py', line 72, in __missing__ instance = self.instance(plugin_name, self.base_import) File '../addons/source-python/packages/source-python/plu...
by 8guawong
Wed Oct 15, 2014 1:12 am
Forum: News & Announcements
Topic: A menus package is now available!
Replies: 26
Views: 60607

There is no need to edit anything. Just type bind "0" "menuselect 10" in your client console. If you then hit 0 the menu will close. We will change that in the future, so there is no need to do that. guess i'll wait for the future then since it would be much easier than having t...
by 8guawong
Tue Oct 14, 2014 12:07 pm
Forum: Plugin Development Support
Topic: Question about setting models
Replies: 6
Views: 5260

from engines.precache import Model from events import Event from players.entity import PlayerEntity from players.helpers import index_from_userid from random import choice models = [Model('models/player/tm_phoenix.mdl'), Model('models/player/tm_pirate.mdl')] @Event d...
by 8guawong
Tue Oct 14, 2014 8:21 am
Forum: News & Announcements
Topic: A menus package is now available!
Replies: 26
Views: 60607

sooooooooo how do you close the paged menu???? DJ. To use the current Menu Library in CSGO you need to do a small bit of value changing inside the radio.py. Just ensure that the maximum number used is 9. I did it for my current add-on I am writing, if you would like the python file I am using PM me....
by 8guawong
Tue Oct 14, 2014 6:15 am
Forum: Plugin Development Support
Topic: Question about setting models
Replies: 6
Views: 5260

Question about setting models

how to set player's model using the offical csgo model t1 = -65158 #pirate t2 = -65149 #phoenix @Event def player_spawn(game_event): userid = game_event.get_int('userid') index = index_from_userid(userid) player = PlayerEntity(index) if player.team == 2: rand ...
by 8guawong
Fri Oct 10, 2014 9:08 am
Forum: Plugin Development Support
Topic: Radar possebilities?
Replies: 15
Views: 12594

L'In20Cible wrote:I may add that this won't work on CS:S, tho. While this flag is available, it is just ignored when rendering the radar. They did fix it on CS:GO (at least, it was when I was testing a while back). On CS:S, it requires to hack a bit.


i wanted to know for csgo so you read my mind!
by 8guawong
Fri Oct 10, 2014 7:19 am
Forum: Plugin Development Support
Topic: Radar possebilities?
Replies: 15
Views: 12594

To disable the radar on CS:GO check out the following. from filters.players import PlayerIter HIDEHUD_RADAR = 1 << 12 @Event def round_start(game_event): # Loop through all living players... for edict in PlayerIter('alive', return_types=['edict']): # Get the player&#...
by 8guawong
Fri Oct 10, 2014 6:31 am
Forum: Plugin Development Support
Topic: Radar possebilities?
Replies: 15
Views: 12594

Syntax: Select all

@Tick
def tick_listener():
for index in PlayerIter('alive'):
player_manager.set_prop_int('m_bPlayerSpotted.%03d ' % index, False)


is this how to disable radar??
by 8guawong
Thu Oct 09, 2014 7:29 am
Forum: General Discussion
Topic: Happy Birthday La Muerte!!!
Replies: 8
Views: 6882

:cool: happy bday!
by 8guawong
Tue Oct 07, 2014 6:39 am
Forum: Plugin Development Support
Topic: How to make player invisible?
Replies: 12
Views: 12186

nah don't need this anymore! i was thinking of putting one bot on the server and make him invisible to solve round /map restart problem :P
no need now since L'In20Cible fixed the switch_team function :cool:
by 8guawong
Tue Oct 07, 2014 5:01 am
Forum: Plugin Development Support
Topic: need working script that acutally switches player for csgo
Replies: 26
Views: 19015

L'In20Cible wrote:However, your actual code you posted still won't work.


OMG finally switch team is working beautifully!!
at this point i don't really care if it works or not hahahah

thank you thank you thank you :cool:
by 8guawong
Tue Oct 07, 2014 4:32 am
Forum: Plugin Development Support
Topic: need working script that acutally switches player for csgo
Replies: 26
Views: 19015

Alright so I tested your code and it is not working. As soon as there is more than 1 player per team, the jointeam command is called twice (as expected by your code logic) and then, is not called again since the game itself is preventing the clients to spam that command. Anyways, forcing players to...
by 8guawong
Tue Oct 07, 2014 12:31 am
Forum: Plugin Development Support
Topic: need working script that acutally switches player for csgo
Replies: 26
Views: 19015

L'In20Cible wrote:Well, I didn't test but, I could bet your issue is caused by your filter. You hook up "jointeam" and then force the player to execute that command again - this will call your filter over and over.


hi the issue right now is the map time will reset after switching team.............
by 8guawong
Tue Oct 07, 2014 12:24 am
Forum: Plugin Development Support
Topic: How to make player invisible?
Replies: 12
Views: 12186

How to make player invisible?

How to make player invisible?

Game: CSGO
by 8guawong
Mon Oct 06, 2014 8:48 pm
Forum: Plugin Development Support
Topic: need working script that acutally switches player for csgo
Replies: 26
Views: 19015

ok i'm going to sleep (so tired from trying to figure this out) hopefully after i wake up some1 can figure out how to do it :cool:
by 8guawong
Mon Oct 06, 2014 8:43 pm
Forum: Plugin Development Support
Topic: need working script that acutally switches player for csgo
Replies: 26
Views: 19015

A bit of advice. If you only need to concern yourself with the 'jointeam' client command, instead of using a filter, register the command: from commands.client import ClientCommand @ClientCommand('jointeam') def jointeam_filter(playerinfo, command): # Do stuff... Note that i...
by 8guawong
Mon Oct 06, 2014 8:42 pm
Forum: Plugin Development Support
Topic: need working script that acutally switches player for csgo
Replies: 26
Views: 19015

Try to add 2 seconds delay for changing players teams and/or godmode for all alive players. Also, PlayerEntity.switch_team function should not kill player on team change. i tried respawning the player after they are switched but they respawn as their current team LOL ......... but if i use PlayerEn...
by 8guawong
Mon Oct 06, 2014 8:30 pm
Forum: Plugin Development Support
Topic: need working script that acutally switches player for csgo
Replies: 26
Views: 19015

Try to add 2 seconds delay for changing players teams and/or godmode for all alive players. Also, PlayerEntity.switch_team function should not kill player on team change. i tried respawning the player after they are switched but they respawn as their current team LOL ......... but if i use PlayerEn...

Go to advanced search