Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 25 of 37
Search took 0.02 seconds.
Search: Posts Made By: SadScrub
Forum: Plugin/Gameplay Ideas and Requests 08-10-2014, 07:16
Replies: 2
Views: 694
Posted By SadScrub
Re: A plugin to slow down/speed up time

host_timescale slows down/speeds up time, if I'm not mistaken.
Forum: Plugins 08-10-2014, 06:29
Replies: 9
Views: 9,568
Posted By SadScrub
Re: [TF2] Scout-a-Pult v1.0

I'm studying your fixes to my code, it's quite amazing! :) Updated my first post to include your updated version, as well as tested it on my server just in case.

The reason I created a cooldown...
Forum: Scripting 08-09-2014, 16:01
Replies: 4
Views: 930
Posted By SadScrub
Re: is there a better way of writing this script?

Alternatively, here's my two cents:

bool:CheckIfHumanOnEachTeam()
{
new bool:T = false, bool:CT = false, team;

for (new i = 1; i <= MaxClients; i++)
{
if...
Forum: Plugin/Gameplay Ideas and Requests 08-08-2014, 16:20
Replies: 7
Views: 1,518
Posted By SadScrub
Re: [REQ] Add bullets each kill

There's a function for it in SM, so it's definitely possible: GivePlayerAmmo() (https://sm.alliedmods.net/api/index.php?fastload=show&id=830&)

Just use the plugin skeleton from your previous...
Forum: Plugin/Gameplay Ideas and Requests 08-04-2014, 09:59
Replies: 14
Views: 2,201
Posted By SadScrub
Re: Please someone made this plugin! HS counter?

Full information is given to the server admin via log: Steam Account ID for easier tracking, as well as user's IP and name at the time of ban for statistical purposes.

It's better to stick the...
Forum: Plugin/Gameplay Ideas and Requests 08-03-2014, 13:40
Replies: 14
Views: 2,201
Posted By SadScrub
Re: Please someone made this plugin! HS counter?

I have put "Improbable Aiming Skills" as a ban reason. What is being logged is the reason for being kicked out of the server, which is "You have been banned". I thought it was more informative this...
Forum: Plugin/Gameplay Ideas and Requests 08-03-2014, 06:27
Replies: 14
Views: 2,201
Posted By SadScrub
Re: Please someone made this plugin! HS counter?

Yes, the code appears to be correct. Just one little thing: substitute the first IF condition in the Player_Death event with this:

if ( (attacker != 0) && headshot)

I forgot to check if the...
Forum: Scripting 08-02-2014, 11:49
Replies: 11
Views: 3,925
Posted By SadScrub
Re: [CS:GO] Can't download sound

Try removing the "sound/" part of your PrecacheSoundAny call. That's pretty much the only thing I can think of, sadly.
Forum: Scripting 08-02-2014, 11:01
Replies: 11
Views: 3,925
Posted By SadScrub
Re: [CS:GO] Can't download sound

Did you add those sounds to the download table using AddFileToDownloadsTable() (http://docs.sourcemod.net/api/index.php?fastload=show&id=325&) ?
Forum: Plugin/Gameplay Ideas and Requests 08-02-2014, 07:20
Replies: 14
Views: 2,201
Posted By SadScrub
Re: Please someone made this plugin! HS counter?

Yes, the first version of my code counts shots to the head, fatal or not. In my experience of playing against aimbotters in CS (it was 1.6, but still), however, sometimes one shot will go astray and...
Forum: Plugin/Gameplay Ideas and Requests 07-29-2014, 09:57
Replies: 11
Views: 2,436
Posted By SadScrub
Re: [TF2] Bot Spawn Delay

Yes, the problem is that tf_bot_quota is not being reset by my plugin on map change. Lack of attention on my part, I apologize. Here's the updated version of my code:

#pragma semicolon 1
...
Forum: Plugin/Gameplay Ideas and Requests 07-28-2014, 16:45
Replies: 11
Views: 2,436
Posted By SadScrub
Re: [TF2] Bot Spawn Delay

In the particular case of Highlander, I'd suggest locking players into spectator and create a separate menu, so players already join as their preferred class and only specific bots are kicked. But...
Forum: Plugin/Gameplay Ideas and Requests 07-28-2014, 11:09
Replies: 11
Views: 2,436
Posted By SadScrub
Re: [TF2] Bot Spawn Delay

#pragma semicolon 1

#include <sourcemod>
#include <sdktools>

#define WAIT_TIME 30.0

public OnPluginStart()
{
HookEvent("teamplay_waiting_ends", Event_WaitEnd);
Forum: Plugin/Gameplay Ideas and Requests 07-28-2014, 10:27
Replies: 9
Views: 2,081
Posted By SadScrub
Re: Epicradio help /Fragradio

Not sure this is the first place to start, really. I've checked out your website and, first of all, I noticed that you have a lot of clone tracks of the same song, which isn't good if you're going to...
Forum: Plugin/Gameplay Ideas and Requests 07-23-2014, 11:20
Replies: 1
Views: 1,155
Posted By SadScrub
Re: [REQ][TF2] Disable Sniper Scope?

Messing with player conditions (TFCond_Zoomed to be precise) will probably do the trick:

public OnConditionAdded(client, TFCond:condition)
{
if (condition == TFCond_Zoomed)
...
Forum: Scripting 07-15-2014, 11:29
Replies: 6
Views: 1,168
Posted By SadScrub
Re: Switch, if, or is there something better?

If you're planning on changing them often (and especially if their quantity is also being modified beyond the limit of 10 at some point), I think it'd be better to load all the stuff into the...
Forum: Scripting 07-14-2014, 10:08
Replies: 6
Views: 1,168
Posted By SadScrub
Re: Switch, if, or is there something better?

Maybe this will help, arrays ahead:

/* Menus */
new Handle:hDonatorMenu = INVALID_HANDLE;

/* Top menu objects */
new TopMenuObject:obj_categories[10] = INVALID_TOPMENUOBJECT;

/* Menu...
Forum: Plugins 07-09-2014, 09:30
Replies: 9
Views: 9,568
Posted By SadScrub
Re: [TF2] Scout-a-Pult v0.19

Thanks! I've filled out my 'Cvar' field, but I'm not sure this changed anything (at least on my side). So, for the time being, I also added the command into the "How to Use" section of my OP.
...
Forum: Plugin/Gameplay Ideas and Requests 07-06-2014, 14:09
Replies: 14
Views: 2,201
Posted By SadScrub
Re: Please someone made this plugin! HS counter?

What about something like this:

#pragma semicolon 1

#include <sourcemod>
#include <sdktools>

#define HITGROUP_HEAD 1
#define HS_MAX 20
Forum: Plugins 07-06-2014, 12:58
Replies: 9
Views: 9,568
Posted By SadScrub
Re: [TF2] Scout-a-Pult v0.19

Took me quite a long time to make, since I'm pretty bad at video related things, but here it is (not posting in #1 because it's just a test run):

dTRtXAaOYDI
Forum: Plugin/Gameplay Ideas and Requests 06-30-2014, 15:08
Replies: 11
Views: 2,572
Posted By SadScrub
Re: All players frozen first x seconds each round

Just put the plugin into "addons\sourcemod\plugins" from your server directory. Same place you installed Sourcemod into, essentially, only in the "plugins" folder. I've rewritten the code to full...
Forum: Plugin/Gameplay Ideas and Requests 06-30-2014, 12:22
Replies: 13
Views: 3,516
Posted By SadScrub
Re: [TF2] Make the medic say "later" when a nearby spy calls for medic

Thanks for pointing out! Fixed now :)

Now that I think about it, how did the plugin compile to begin with? I didn't find an IsPlayerInCondition native in the API reference.
Forum: Plugin/Gameplay Ideas and Requests 06-30-2014, 11:36
Replies: 18
Views: 3,984
Posted By SadScrub
Re: [ MOTD ]

Not sure what you mean by... any of it. Do you mean that the MOTD needs to stay open for 30 seconds or that it needs a delay of 30 seconds before opening, without the first ShowMOTD call?

Also, if...
Forum: Plugin/Gameplay Ideas and Requests 06-30-2014, 10:56
Replies: 18
Views: 3,984
Posted By SadScrub
Re: [ MOTD ]

This code does not work because you are treating User ID like a client index (they're not the same thing). This should fix it:

new client = GetClientOfUserId(GetEventInt(event, "userid"))Also, you...
Forum: Plugin/Gameplay Ideas and Requests 06-28-2014, 09:28
Replies: 11
Views: 2,572
Posted By SadScrub
Re: All players frozen first x seconds each round

Had that in mind, but wrote 0 out of habit. Thank you for the correction!

P.S. You missed an AND (&&) condition between IsClientConnected and IsClientInGame, but that's just nitpicking on my part...
Showing results 1 to 25 of 37

 
Forum Jump

All times are GMT -4. The time now is 14:12.


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