Raised This Month: $7 Target: $400
 1% 

Showing results 1 to 25 of 330
Search took 0.01 seconds.
Search: Posts Made By: blaacky
Forum: Scripting 11-04-2022, 13:37
Replies: 3
Views: 608
Posted By blaacky
Re: [CSGO] Stop round end from incrementing team score

CS_OnTerminateRound is only called whenever the CS_TerminateRound function is called according to the docs. The rounds I am trying to make these changes to are ones that end without calling the...
Forum: Scripting 11-04-2022, 09:30
Replies: 3
Views: 608
Posted By blaacky
[CSGO] Stop round end from incrementing team score

Hi, I am trying to figure out a way to stop the team scores from going up when a team wins a round. I have considered using CS_SetTeamScore at round end and decrementing their score by 1, and...
Forum: Scripting 03-28-2018, 07:26
Replies: 5
Views: 3,299
Posted By blaacky
Re: Creating zones & checking if client is inside a zone

https://forums.alliedmods.net/showthread.php?t=222822
Forum: Snippets and Tutorials 03-08-2018, 16:31
Replies: 12
Views: 10,982
Posted By blaacky
Re: [CSGO] Change player collision hull

I tested it on my CS:GO Linux server and it just caused it to crash
Forum: Scripting 01-06-2018, 09:07
Replies: 4
Views: 1,016
Posted By blaacky
Re: [CS:GO] Suppress maps custom "say"ings

You should just use a point_servercommand entity remover. Every server that uses custom maps should use a plugin that does that. I've seen some custom maps use that entity to run the sm_ban command...
Forum: Scripting 12-28-2017, 05:07
Replies: 3
Views: 933
Posted By blaacky
Re: ReadFileLine isn't giving me the right result.

You need to use ExplodeString on the lineBuffer variable to turn the string into 3 separate strings using a space as the delimiter. After that you have to do StringToFloat on the 3 strings you get...
Forum: Scripting 11-14-2017, 08:46
Replies: 7
Views: 1,359
Posted By blaacky
Re: Best way, global or Ent?

In most cases to check if a client is valid all you're really going to need is the IsClientInGame function. Usually you won't need to check if they are a bot nor do you need to check if the client...
Forum: Scripting 11-11-2017, 05:02
Replies: 8
Views: 15,491
Posted By blaacky
Re: SourceMod "x" colors?

https://github.com/imyzcn/mani-admin-plugin/blob/2967f6382cba6338f002df3dcdc4c4bbc5b4370f/mani_admin_plugin/mani_output.cpp#L1538

There is the colors mani admin used in its chat functions. Looks...
Forum: Scripting 10-14-2017, 20:43
Replies: 8
Views: 1,622
Posted By blaacky
Re: Simple Plugin does not work.

Not sure if SM works this way, but it may be possible that once OnClientPostAdminCheck is called, it resets the player's admin flags to what they are in the config. So anything you do to the flags in...
Forum: Scripting 10-14-2017, 12:48
Replies: 16
Views: 4,504
Posted By blaacky
Re: PlayerRunCmdHook crash

what game is it for?
Forum: Scripting 09-19-2017, 13:11
Replies: 3
Views: 825
Posted By blaacky
Re: Hooking say

Use simple chat processor (https://forums.alliedmods.net/showthread.php?p=1820365) or chat processor (https://forums.alliedmods.net/showthread.php?p=2448768), they have forwards you can use to modify...
Forum: Extensions 09-16-2017, 22:01
Replies: 362
Views: 227,418
Posted By blaacky
Re: SendProxy Manager

Yea that doesn't seem to load on my Linux server. I just get this error:

[19] <FAILED> file "sendproxy.ext.so": /servers/kawaiicss/cstrike/addons/sourcemod/extensions/sendproxy.ext.so: cannot open...
Forum: Plugins 08-27-2017, 18:38
Replies: 351
Views: 251,983
Posted By blaacky
Re: [Any] Chat-Processor (Replacement for Simple Chat Processor)

Can you modify it so we can change the delimiter between the name and the message?
Forum: Scripting 07-25-2017, 15:18
Replies: 9
Views: 2,036
Posted By blaacky
Re: How can check author of a plugin?

You use GetPluginIterator, ReadPlugins, MorePlugins, and GetPluginInfo functions
Forum: General 06-22-2017, 20:58
Replies: 2
Views: 681
Posted By blaacky
Auto-deleting logs after 30 days?

Logs in sourcemod/logs that are 30 days or older are going away automatically. Is this something I can disable somewhere? Or is it even part of SourceMod?
Forum: General 06-21-2017, 05:35
Replies: 9
Views: 2,468
Posted By blaacky
Re: Did SetClientName offset change?

That linux offset didn't work, but it helped fix some other bugs. The bot's name doesn't change.

EDIT: 68 works
Forum: SourceBans / SourceBans++ 06-19-2017, 12:48
Replies: 1
Views: 1,893
Posted By blaacky
Latest sb++ breaks server

There seemed to be an update last night and now my server won't start and I get the following errors:

L 06/19/2017 - 11:28:00: [SM] Call stack trace:
L 06/19/2017 - 11:28:00: [SM] [0]...
Forum: Plugins 06-16-2017, 20:21
Replies: 61
Views: 54,776
Posted By blaacky
Re: [ANY] Discord API (Send/Retrieve messages, list Guilds/Channels) UPDATE: 10/1/17

Can we get something to assign roles to members? And to get a list of roles
Forum: Scripting 06-07-2017, 10:15
Replies: 1
Views: 1,205
Posted By blaacky
What does this error mean?

Someone had trouble loading one of my plugins.
[SM] Failed to load plugin "bash2.smx": Unable to load plugin (bad header).

Is this caused by running the plugin on an incompatible version from...
Forum: Scripting 05-27-2017, 08:39
Replies: 6
Views: 2,477
Posted By blaacky
Re: Detecting laggy players (Not ping lag)

Forgot that, right before that code I do

if(GetEntityMoveType(client) != MOVETYPE_NONE)
{
g_mLastMoveType[client] = GetEntityMoveType(client);
}

Used to unfreeze the players by...
Forum: Scripting 05-27-2017, 07:33
Replies: 6
Views: 2,477
Posted By blaacky
Re: Detecting laggy players (Not ping lag)

I use this method to catch a lot of laggers. It just freezes them for the time being until they stop lagging.

int g_iRunCmdsPerSecond[MAXPLAYERS + 1];
int g_iBadSeconds[MAXPLAYERS + 1];
float...
Forum: Scripting 04-17-2017, 09:58
Replies: 9
Views: 2,142
Posted By blaacky
Re: Chattags Plugin

If you want to modify the chat you should stick to a standard that other plugins use aka Simple Chat Processor (https://forums.alliedmods.net/showthread.php?p=1820365) or Chat Processor...
Forum: Scripting 02-22-2017, 20:04
Replies: 2
Views: 1,220
Posted By blaacky
Re: [CSGO] Client-side prediction for trigger entities?

They had that with the landmark teleports in source but as far as I know it can't be enabled on other triggers
Forum: Scripting 01-25-2017, 18:01
Replies: 3
Views: 1,132
Posted By blaacky
Re: [CSGO] I try to lock steamid to team

Try using AddComandListener on the "jointeam" command and block it. Inside the command listener, use CS_SwitchTeam and CS_RespawnPlayer.
Forum: Scripting 01-21-2017, 17:47
Replies: 32
Views: 4,851
Posted By blaacky
Showing results 1 to 25 of 330

 
Forum Jump

All times are GMT -4. The time now is 22:58.


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