Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $
Target: $400
0%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Page 1 of 2
1
2
>
Showing results 1 to 25 of 45
Search took
0.01
seconds.
Search:
Posts Made By:
shortguy
Forum:
Scripting
04-24-2020, 00:44
Replies:
3
[CSGO] Get active bonus weapon in deathmatch
Views:
1,652
Posted By
shortguy
Re: [CSGO] Get active bonus weapon in deathmatch
Thanks for the reply, I did end up looking into the m_unDMBonusWeaponLoadoutSlot thing, but saw that it was a bit difficult to convert that to a players loadout slot/item. I've actually made a PR on...
Forum:
Scripting
04-22-2020, 02:42
Replies:
3
[CSGO] Get active bonus weapon in deathmatch
Views:
1,652
Posted By
shortguy
[CSGO] Get active bonus weapon in deathmatch
Hi there,
Does anyone know how I can find out the classname of the current bonus weapon in deathmatch? I would like to run some code on the player_death if they died to the bonus weapon but not...
Forum:
Scripting
04-20-2020, 21:51
Replies:
42
[CSGO]PrintHintTextToAll cant use <font color='#00ffff' size='26'>
Views:
24,463
Posted By
shortguy
Re: [CSGO]PrintHintTextToAll cant use <font color='#00ffff' size='26'>
You can blame Valve for this, they added the whitelist to only allow certain message prefixes in the hint text...
Forum:
Scripting
10-25-2015, 02:29
Replies:
2
[CSGO] Get who player is spectating
Views:
592
Posted By
shortguy
Re: [CSGO] Get who player is spectating
Cheers, works a treat.
Forum:
Scripting
10-24-2015, 23:24
Replies:
2
[CSGO] Get who player is spectating
Views:
592
Posted By
shortguy
[CSGO] Get who player is spectating
Hi there,
Is it possible to grab the client ID of the player that a person is spectating (if any) in CS GO?
Thanks
Forum:
Scripting
10-17-2015, 03:45
Replies:
1
Get Menu handler for client
Views:
616
Posted By
shortguy
Get Menu handler for client
Hi,
Is it possible to get a reference to the handle of the menu that a client has open. I know you can use GetClientMenu to return a MenuSource (so I know they have a menu open), but is it...
Forum:
Scripting
10-13-2015, 05:45
Replies:
1
[CSGO] Hooking PrintToChat of another plugin
Views:
666
Posted By
shortguy
[CSGO] Hooking PrintToChat of another plugin
Hi there,
I was wondering if it is at all possible to hook the function that occurs a plugin prints something to chat. Or if there is anyway to just grab all messages that ever get posted to chat...
Forum:
Coding MM:S Plugins & SM Extensions
08-07-2015, 07:49
Replies:
7
CSGO basic usage
Views:
2,198
Posted By
shortguy
Re: CSGO basic usage
Alright, I've gotten past the segfault, but I'm still at a loss regarding the mask. How do I find out what will change at runtime? Is there an easy method to find which bytes should get masked?
Forum:
Coding MM:S Plugins & SM Extensions
08-06-2015, 06:49
Replies:
7
CSGO basic usage
Views:
2,198
Posted By
shortguy
Re: CSGO basic usage
Alrighty, so new question,
I'm currently trying to implement the sigscan.cpp shown on the Signature scanning wiki page and I've reached a block in the road.
In the Load() of my MM plugin I am...
Forum:
Coding MM:S Plugins & SM Extensions
08-05-2015, 20:42
Replies:
7
CSGO basic usage
Views:
2,198
Posted By
shortguy
Re: CSGO basic usage
Okay can I just run something by you?
I've taken the objdump from my server binary (since im on linux) and I'm trying to implement the CommitSuicide method. I find it in my dump here:
...
Forum:
Scripting
08-05-2015, 02:57
Replies:
14
CS_RespawnPlayer CSGO become ghost.
Views:
3,013
Posted By
shortguy
Re: CS_RespawnPlayer CSGO become ghost.
Thanks, just converted to this:
public void RF_RespawnClient(int client) {
CS_RespawnPlayer(client);
}
public OnPluginStart() {
HookEvent("player_death", Event_PlayerDeath);
}
Forum:
Scripting
08-05-2015, 01:20
Replies:
10
Native "GetEntDataEnt2" reported
Views:
1,511
Posted By
shortguy
Re: Native "GetEntDataEnt2" reported
Is it possible that the client becomes invalid in those 0.2 seconds?
Maybe change:
if (Client_HasWeapon(client, "weapon_knife") && IsValidClient(client))
To
if (IsValidClient(client) &&...
Forum:
Coding MM:S Plugins & SM Extensions
08-05-2015, 01:13
Replies:
7
CSGO basic usage
Views:
2,198
Posted By
shortguy
CSGO basic usage
I know this has probably been asked a million times, but I am struggling to even find out how to create a CSGO plugin that mimics even the most basic of SourceMod behaviour.
If I can only use...
Forum:
Scripting
08-04-2015, 08:47
Replies:
14
CS_RespawnPlayer CSGO become ghost.
Views:
3,013
Posted By
shortguy
Re: CS_RespawnPlayer CSGO become ghost.
Thanks for the suggestion, just tried it then using a flat ChangeClientTeam(client, 2), the team change goes ahead but I'm still in the floor. Very strange.
public Action...
Forum:
Scripting
08-04-2015, 08:07
Replies:
14
CS_RespawnPlayer CSGO become ghost.
Views:
3,013
Posted By
shortguy
Re: CS_RespawnPlayer CSGO become ghost.
Works Fine
public OnPluginStart() {
HookEvent("player_death", Event_PlayerDeath);
}
public Action Timer_RespawnClient(Handle timer, int client) {
CS_RespawnPlayer(client);
}
Forum:
Scripting
08-04-2015, 07:23
Replies:
14
CS_RespawnPlayer CSGO become ghost.
Views:
3,013
Posted By
shortguy
Re: CS_RespawnPlayer CSGO become ghost.
I eventually wont be using it for an instant respawn system, just wanted to find out what the requirements were for a valid spawn.
I guess, Valid Team and Is Dead?
Forum:
Scripting
08-04-2015, 05:52
Replies:
14
CS_RespawnPlayer CSGO become ghost.
Views:
3,013
Posted By
shortguy
CS_RespawnPlayer CSGO become ghost.
So I'm having an interesting timing issue with CS:GO and CS_RespawnPlayer.
I am hooking the "player_death" event in order to respawn players immediately after they die.
However, if I run the...
Forum:
Scripting
08-03-2015, 01:03
Replies:
17
[HELP] How can I remove breakable objects from maps in CS:GO?
Views:
5,834
Posted By
shortguy
Re: [HELP] How can I remove breakable objects from maps in CS:GO?
If you are looking for a scripting response,
Doors: `prop_door_rotating`
Vents: `func_breakable`
Glass/Windows: `func_breakable_surf`
Iterate through the classes using
FindEntityByName ...
Forum:
Coding MM:S Plugins & SM Extensions
08-02-2015, 06:32
Replies:
2
static_assert errors when compiling stub_mm
Views:
3,490
Posted By
shortguy
Re: static_assert errors when compiling stub_mm
Wow that makes me feel dumb. I should have checked that it actually used c++11 before wondering that.
Should I submit a PR to get this flag merged into the sample projects in the metamod repo?
Forum:
Coding MM:S Plugins & SM Extensions
08-02-2015, 02:56
Replies:
2
static_assert errors when compiling stub_mm
Views:
3,490
Posted By
shortguy
static_assert errors when compiling stub_mm
Hi there,
I've been trying to compile the stub_mm included with the metamod source files but I can't seem to get around errors relating to static_assert
In file included from...
Forum:
Scripting
08-02-2015, 00:14
Replies:
8
Any tag in transitional syntax.
Views:
1,406
Posted By
shortguy
Re: Any tag in transitional syntax.
splewis and Miu were both correct, had to change return type to int. Thanks!
Forum:
Scripting
08-01-2015, 21:22
Replies:
3
How can i disallow comand if mp_roundtime - currenttimeROUND > 5
Views:
839
Posted By
shortguy
Re: How can i disallow comand if mp_roundtime - currenttimeROUND > 5
Since I can't really find a game property to track current round time, you can use this snippet I created here:
https://gist.github.com/roflmuffin/bed001ee2d12cb49deff
It's in transitional...
Forum:
Scripting
08-01-2015, 21:02
Replies:
8
Any tag in transitional syntax.
Views:
1,406
Posted By
shortguy
Re: Any tag in transitional syntax.
Also does not match.
Forum:
Scripting
08-01-2015, 20:34
Replies:
8
Any tag in transitional syntax.
Views:
1,406
Posted By
shortguy
Re: Any tag in transitional syntax.
Even with the prototype of:
public void OnSocketError(Handle socket, const int errorType, const int errorNum, any arg)
It still tells me prototypes do not match.
Forum:
Scripting
08-01-2015, 20:02
Replies:
8
Any tag in transitional syntax.
Views:
1,406
Posted By
shortguy
Any tag in transitional syntax.
I'm trying to implement the socket extension in transitional syntax and I can't seem to get the function prototypes to match.
Prototype from their include:
public(Handle:socket, const errorType,...
Showing results 1 to 25 of 45
Page 1 of 2
1
2
>
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
18:26
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode