Search found 1256 matches

by L'In20Cible
Thu Dec 06, 2012 5:50 pm
Forum: Plugin Development Support
Topic: es.getmaxplayercount() equivalent
Replies: 3
Views: 4574

Hey guys, The following should work: from Entity import Entities from entities.helpers import index_from_edict def get_max_players(): for edict in Entities('cs_team_manager'): if edict.GetPropInt('CTeam.m_iTeamNum'): continue return index_from_edict(edict&...
by L'In20Cible
Thu Dec 06, 2012 7:39 am
Forum: Code examples / Cookbook
Topic: Stripping weapons
Replies: 45
Views: 114673

Hey CS4LIFE, Try this: # ============================================================================ # >> IMPORTS # ============================================================================ # Source Python Imports # Entities from entities.helpers import pointer_from_inthandle # Events from event...
by L'In20Cible
Wed Dec 05, 2012 8:17 pm
Forum: Plugin Development Support
Topic: UserMessage Menu
Replies: 15
Views: 13118

It is, was just for your information.

L'In20Cible
by L'In20Cible
Wed Dec 05, 2012 7:54 pm
Forum: Plugin Development Support
Topic: UserMessage Menu
Replies: 15
Views: 13118

No you can't force a client to bind a key. And I doubt you can get which command is bound to it since the server doesn't have to know that directly so well, why sending more data than needed? Not sure if it works on CSGO but on CSS, you can print them into a hudhint message. In example: Press %+jump...
by L'In20Cible
Wed Dec 05, 2012 7:37 pm
Forum: Plugin Development Support
Topic: UserMessage Menu
Replies: 15
Views: 13118

Again, they are client-side. It send the command based on the radio message to the server (in example, "go", "backup", etc.).

L'In20Cible
by L'In20Cible
Wed Dec 05, 2012 7:27 pm
Forum: Plugin Development Support
Topic: UserMessage Menu
Replies: 15
Views: 13118

Hey Tuck,

You quoted the answer. :)

L'In20Cible wrote:Where "0" need to be handled as "10".


And it crashed cause you started a message and didn't send it (cause of the raised error).

L'In20Cible
by L'In20Cible
Wed Dec 05, 2012 3:24 pm
Forum: Plugin Development Support
Topic: Players transparency
Replies: 12
Views: 10596

Hey guys, however setting it to 1-10 some of these makes the player go invisible This is normal since some render modes doesn't render at all (such as environmental and none): // Rendering constants // if this is changed, update common/MaterialSystem/Sprite.cpp enum RenderMode_t { kRenderNormal = 0,...
by L'In20Cible
Tue Dec 04, 2012 10:59 pm
Forum: Plugin Development Support
Topic: Players transparency
Replies: 12
Views: 10596

Hey Tuck,

Can you post your entire code please? It's hard to help you when we need to rewrite your functions (cf: getColor) and/or "guessing" the type of the arguments you are using (cf: user)...

Thanks,

L'In20Cible
by L'In20Cible
Tue Dec 04, 2012 10:33 pm
Forum: Plugin Development Support
Topic: UserMessage Menu
Replies: 15
Views: 13118

Hey guys, I don't think that we can do anything server-side since slots are handled by clients: CBaseHudWeaponSelection::HandleHudMenuInput . Then, it tells the server by sending menuselect: CHudMenu::SelectMenuItem . I compared the file ../game/client/weapon_selection.cpp from CSS to CS:GO and it s...
by L'In20Cible
Tue Dec 04, 2012 6:59 pm
Forum: Plugin Development Support
Topic: UserMessage Menu
Replies: 15
Views: 13118

Hey Tuck,

Sadly, this is not available on CS:GO.

L'In20Cible
by L'In20Cible
Mon Dec 03, 2012 4:14 pm
Forum: Plugin Development Support
Topic: Info: list of CS:GO events
Replies: 2
Views: 6351

Hey freddukes,

Using GFCScape you can open C:\Program Files\Steam\SteamApps\common\Counter-Strike Global Offensive\csgo\pak01_dir.vpk, extract the file resource/modevents.res and get the entire list of events available. :)

Here's the file: http://pastebin.com/SVK5c8Zy
by L'In20Cible
Sat Nov 24, 2012 5:46 pm
Forum: News & Announcements
Topic: Source Python Alpha 1.0.0c
Replies: 5
Views: 7971

Hi,

That build is outdated. You can find the last one here.

L'In20Cible
by L'In20Cible
Tue Nov 20, 2012 12:13 am
Forum: News & Announcements
Topic: Site issues..
Replies: 5
Views: 7963

Glad to see the site, AND ynh back! :)
by L'In20Cible
Sat Aug 18, 2012 1:00 am
Forum: General Discussion
Topic: Good job!
Replies: 3
Views: 5412

I'm FINALLY back! :D
by L'In20Cible
Sat Jul 14, 2012 10:22 pm
Forum: General Discussion
Topic: Good job!
Replies: 3
Views: 5412

Yeah, I'm at home for the week-end. :D
by L'In20Cible
Sat Jul 14, 2012 9:32 pm
Forum: General Discussion
Topic: Good job!
Replies: 3
Views: 5412

Good job!

Good job on the forums, it looks very nice! Only 5 weeks left before I can start working on that, yay! :D

Go to advanced search