Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 58
Search took 0.00 seconds.
Search: Posts Made By: BoosterGold
Forum: Scripting 03-08-2018, 18:26
Replies: 6
Views: 1,611
Posted By BoosterGold
Can I intercept an Event when it's about to fire?

Is there a way to detect when an Event is about to fire and run some code before that happens? I realize this might sound like I'm trying to attempt time travel.

Specifically, in the event that...
Forum: Plugins 02-19-2018, 19:43
Replies: 240
Views: 152,830
Posted By BoosterGold
Re: [CS:GO] Retakes (v0.3.2, 2016-4-6)

I noticed that on certain maps like de_cache or de_mirage, having to break vents or windows would give info to the defenders about where attackers were being spawned. This seemed like an unfair...
Forum: Plugin/Gameplay Ideas and Requests 02-16-2018, 19:03
Replies: 17
Views: 4,063
Posted By BoosterGold
Re: [CS:GO] Pissmod back to CS:GO?

This is my favorite thread today.
Forum: Plugins 05-29-2017, 01:48
Replies: 21
Views: 52,621
Posted By BoosterGold
Re: [CSGO] Warmup Round

Hey GDK,

The Operation Hydra update added a nifty cvar for infinite taser usage: mp_taser_recharge_time.

To better use the new taser system, I made the following changes to the code:

public...
Forum: Plugin/Gameplay Ideas and Requests 05-24-2017, 19:26
Replies: 0
Views: 487
Posted By BoosterGold
[CS:GO] Betting your Score

Hi,

Do you guys remember in CS 1.6 and CSS the mod that let you bet your cash on the outcome of the current round (https://forums.alliedmods.net/showthread.php?p=763549)? I can't seem to find a...
Forum: General 05-23-2017, 22:56
Replies: 245
Views: 75,233
Posted By BoosterGold
Re: CS:GO Update 23/05/2017

The conspiracy theorist in me wonders if they don't use the beta branch because they don't want people having working Community servers when they need to sell those Operation tickets.
Forum: Plugins 05-14-2017, 21:17
Replies: 240
Views: 152,830
Posted By BoosterGold
Re: [CS:GO] Retakes (v0.3.2, 2016-4-6)

Ah, thanks. Isn't the server supposed to do that automagically on restart?
Forum: Plugins 05-14-2017, 20:35
Replies: 240
Views: 152,830
Posted By BoosterGold
Re: [CS:GO] Retakes (v0.3.2, 2016-4-6)

Hey Splewis, kind of like what UntitledMcC said, team switching seems broken since 5/13 update. Maybe the update before it. I don't have a console log because I wasn't around when it happened :(
...
Forum: Plugins 05-14-2017, 20:30
Replies: 11
Views: 29,540
Posted By BoosterGold
Re: Admin tags | Scoreboard (2017-02-03)

This is the output in my console:

05/14/2017 - 17:22:05: [SM] Exception reported: Failed to locate function
05/14/2017 - 17:22:05: [SM] Blaming: tags.smx
05/14/2017 - 17:22:05: [SM] Calstack...
Forum: Scripting 04-23-2017, 13:40
Replies: 3
Views: 988
Posted By BoosterGold
Re: (<Beginner) Commands on a timer?

You want the Advertisements plugin, which comes shipped with Sourcemod. :)
Forum: Plugins 04-18-2017, 15:00
Replies: 1,919
Views: 772,141
Posted By BoosterGold
Re: [ANY] CallAdmin - Extended Report Mod

Hey guys,

How would I go about adding an option to the calladmin menu to allow players to make a report about 'something on the server is broken'? A plugin issue, etc.

For instance, I'd like it...
Forum: Plugins 03-10-2017, 18:50
Replies: 240
Views: 152,830
Posted By BoosterGold
Re: [CS:GO] Retakes (v0.3.2, 2016-4-6)

Oh, true. Some people around here seem to think that forcing clients to perform commands is a less 'clean' way of doing stuff, though. It's all up to preference.
Forum: Plugins 03-09-2017, 17:14
Replies: 240
Views: 152,830
Posted By BoosterGold
Re: [CS:GO] Retakes (v0.3.2, 2016-4-6)

Here's the updated, working code:

In OnMapStart:
PrecacheSound("player/vo/phoenix/goingtoplantbomba02.wav", true);
PrecacheSound("player/vo/phoenix/goingtoplantbombb01.wav", true);

In...
Forum: Scripting 03-04-2017, 00:13
Replies: 4
Views: 1,333
Posted By BoosterGold
Re: [CS:GO] Does Sourcemod have any way to tell what player models the map loads?

This works!

Since I just want my plugin to check the faction, though, it might be simpler to have it check what hand/arm models are loaded. Which Entity do I point the GetEntPropString to check...
Forum: Plugins 03-02-2017, 23:18
Replies: 6
Views: 5,968
Posted By BoosterGold
Re: [CS:GO] Force Defuse

You made this for a retakes server, didn't you? This is brilliant.
Forum: Scripting 03-02-2017, 23:06
Replies: 4
Views: 1,333
Posted By BoosterGold
[CS:GO] Does Sourcemod have any way to tell what player models the map loads?

Has anyone written an .inc or functionality that allows a script to check what player models the map has selected? Like, to tell if the Counterterrorists are the SWAT, GIGN, or GSG9?
Forum: Scripting 02-23-2017, 19:58
Replies: 13
Views: 2,486
Posted By BoosterGold
Re: So I don't understand how to use GetMapDisplayName...

Thanks! So here's what I put into advertisements.sp:

if (StrContains(sText, "{currentmapname}", false) != -1) {
char sRawMap[PLATFORM_MAX_PATH];
char sMap[64];
...
Forum: Scripting 02-22-2017, 20:53
Replies: 13
Views: 2,486
Posted By BoosterGold
Re: So I don't understand how to use GetMapDisplayName...

It's Windows, but I don't know what version. I rent it from a 3rd-party service.
Forum: Scripting 02-22-2017, 11:40
Replies: 13
Views: 2,486
Posted By BoosterGold
Re: So I don't understand how to use GetMapDisplayName...

If I can't get it to work the way I want to, I'll look at workarounds. For now I'd like to learn how to do it the 'real way.'

RTV's code does this:

if (GetNextMap(map, sizeof(map)))
{...
Forum: Scripting 02-22-2017, 11:13
Replies: 13
Views: 2,486
Posted By BoosterGold
Re: So I don't understand how to use GetMapDisplayName...

Hmm. When I write it this way it still prints the full workshop name. I think I need another hint.
Forum: Scripting 02-22-2017, 02:12
Replies: 13
Views: 2,486
Posted By BoosterGold
Re: So I don't understand how to use GetMapDisplayName...

So something like this?

if (StrContains(sText, "{currentmapname}", false) != -1) {
GetCurrentMap(map, sizeof(map));
GetMapDisplayName(map, displayName, sizeof(displayName));...
Forum: Scripting 02-22-2017, 01:56
Replies: 13
Views: 2,486
Posted By BoosterGold
So I don't understand how to use GetMapDisplayName...

Hello,

I'm trying to clean up the "workshop/12345678/de_map" print from the Advertisements 2.0 plugin to just read the map's DisplayName.

So the current code is:

if (StrContains(sText,...
Forum: Scripting 02-19-2017, 18:42
Replies: 15
Views: 2,429
Posted By BoosterGold
Re: CS:GO behaves weird with EmitSoundToAll

I implemented this exactly as you have it and it works exactly like I want it to. Just for testing's sake, I also tried this:

for(int player = 1; player <= MaxClients; player++)
{
...
Forum: Scripting 02-18-2017, 17:53
Replies: 15
Views: 2,429
Posted By BoosterGold
Re: CS:GO behaves weird with EmitSoundToAll

My understanding was that the play command is protected and the server can't force clients to do it if they have cl_restrict_server_commands set to 1 (the default value). I'll try it anyway when I...
Forum: Scripting 02-17-2017, 23:15
Replies: 15
Views: 2,429
Posted By BoosterGold
Re: CS:GO behaves weird with EmitSoundToAll

If that's true, why does it work perfectly fine with exactly one player on a team, but fail to work when another player joins?
Showing results 1 to 25 of 58

 
Forum Jump

All times are GMT -4. The time now is 04:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode