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

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Chaosxk
Forum: Plugins 06-05-2020, 17:53
Replies: 360
Views: 162,461
Posted By Chaosxk
Re: [TF2] Custom Boss Spawner (v.5.0.2) [11/13/2016]

Hello, haven't been active here in a while. I no longer play TF2 so i have no plans on updating this in the future. Seems like the mod still works. Anyways i moved everything over to GitHub so...
Forum: Scripting 07-28-2017, 01:14
Replies: 16
Views: 2,763
Posted By Chaosxk
Re: How to Detect Slot number Pressing?

Ooooooooh, oops. Guess i need to fix some stuff lol.
Forum: Scripting 07-28-2017, 01:11
Replies: 8
Views: 1,286
Posted By Chaosxk
Re: Checking if client has a flag

Well, that's the purpose of having root flag, to have access to all flags.
Forum: Plugins 07-28-2017, 01:01
Replies: 360
Views: 162,461
Posted By Chaosxk
Re: [TF2] Custom Boss Spawner (v.5.0.2) [11/13/2016] ~ 13 new bosses!

That command is for in-game only, don't use it in console.



Maybe one day, haven't touch this code in 6 months...kinda lost interest in this plugin.



Is your bossspawner_downloads.cfg set...
Forum: Scripting 07-27-2017, 14:16
Replies: 16
Views: 2,763
Posted By Chaosxk
Re: How to Detect Slot number Pressing?

IIRC SDKHook_WeaponCanSwitchTo will hook on to the current weapon and any other weapons that the player switches to.
Forum: Scripting 07-18-2017, 10:16
Replies: 6
Views: 3,593
Posted By Chaosxk
Re: Extended arraylist

An arraylist of datapacks maybe?
Forum: Scripting 06-25-2017, 14:05
Replies: 13
Views: 3,014
Posted By Chaosxk
Re: Cancelling a player hurt event

From last time i played with SDKHooks, sending return Plugin_Handled to OnTakeDamageAlive crashed my server while OnTakeDamage didn't.

Otherwise i would use OnTakeDamageAlive to change final...
Forum: Scripting 06-24-2017, 22:07
Replies: 13
Views: 3,014
Posted By Chaosxk
Re: Cancelling a player hurt event

Hook like so:
public void OnPluginStart()
{
//Hook all clients in server with SDKHooks
for (int i = 1; i <= MaxClients; i++)
{
if (!IsClientInGame(i))
continue;
SDKHook(i,...
Forum: Scripting 06-20-2017, 14:22
Replies: 12
Views: 2,676
Posted By Chaosxk
Re: What Is Wrong About This Code

morecolors only work for 2009 Source games, won't work for CS:GO.

For CS:GO you have to do something like this: https://forums.alliedmods.net/showpost.php?p=1722115&postcount=17
Forum: Scripting 06-19-2017, 22:10
Replies: 6
Views: 1,409
Posted By Chaosxk
Re: How to [action here] to every player?

Changes name to ";exit" ... server shut down.
Forum: Scripting 06-16-2017, 17:32
Replies: 44
Views: 6,655
Posted By Chaosxk
Re: Infractions - The Early Stages

You have a mix between old/new syntax, should be something like this for new:
public Action Event_PlayerConnect(Event event, const char[] name, bool dontBroadcast)
{
int index =...
Forum: Scripting 06-16-2017, 13:25
Replies: 44
Views: 6,655
Posted By Chaosxk
Re: Infractions - The Early Stages

GetEventInt should be fine for both.
Forum: Plugins 06-12-2017, 14:29
Replies: 13
Views: 9,287
Posted By Chaosxk
Re: [TF2] Stamina Sprinting v.1.2 [4/29/2017]

What's the compatibility problem?
Forum: Plugin/Gameplay Ideas and Requests 06-05-2017, 16:34
Replies: 5
Views: 1,418
Posted By Chaosxk
Re: tf2 block switch blue team ?

public void OnPluginStart()
{
AddCommandListener(Command_Team, "autoteam");
}

public Action Command_Team(int client, const char[] command, int argc)
{
return Plugin_Handled;
}
Forum: Scripting 05-25-2017, 00:56
Replies: 39
Views: 6,740
Posted By Chaosxk
Re: Using CreateDataTimer

CreateDataTimer is a wrapper for CreateTimer, perhaps understanding what it does might help you.

/**
* Creates a timer associated with a new datapack, and returns the datapack.
* @note The...
Forum: Scripting 05-24-2017, 12:58
Replies: 39
Views: 6,740
Posted By Chaosxk
Re: Using CreateDataTimer

Your probably getting an error in your logs.

CreateDataTimer will automatically close the Datapack when finishing, so the 2nd CreateDataTimer Datapack is no longer valid.

Edit: forgot it...
Forum: Plugins 05-23-2017, 13:22
Replies: 89
Views: 44,013
Posted By Chaosxk
Re: [ANY] Stealth Revived (18/05/17)

I know it it can stop sending to the person he's spectating, i said it stops sending "all data to the other client".

It will work but if you have other plugins that interact with the...
Forum: Plugins 05-21-2017, 22:52
Replies: 89
Views: 44,013
Posted By Chaosxk
Re: [ANY] Stealth Revived (18/05/17)

SetTransmit stops sending all data to the other client, SendProxy will send a fake value to m_hObserverTarget prop to only the player that is being spectated so it shouldn't mess with the client...
Forum: Scripting 05-21-2017, 21:50
Replies: 7
Views: 2,360
Posted By Chaosxk
Re: [L4D2] Help to Users Enable/Disable Plugin

Something like this:

public Event_L4DPlayerDeath(Handle: event, const String: name[], bool:dontBroadcast)
{
new attacker = GetClientOfUserId(GetEventInt(event, "attacker"));

if...
Forum: Plugin/Gameplay Ideas and Requests 05-21-2017, 20:19
Replies: 32
Views: 7,807
Posted By Chaosxk
Re: TF2 Show names

It was probrobly impossible 8 years ago but easy to do now.
https://forums.alliedmods.net/showthread.php?p=1044646

Also 8 years ago they were talking about the client side HUD not the server made...
Forum: Scripting 05-21-2017, 19:19
Replies: 7
Views: 2,360
Posted By Chaosxk
Re: [L4D2] Help to Users Enable/Disable Plugin

Use a simple global variable to keep track of the toggle.

bool g_bCanUse[MAXPLAYERS + 1];

public void OnPluginStart()
{
RegConsoleCmd("sm_toggle", Command_Toggle, "Toggle");
}

public...
Forum: Plugin/Gameplay Ideas and Requests 05-17-2017, 23:01
Replies: 12
Views: 5,208
Posted By Chaosxk
Re: Block Spectator List

Not sure if this will work, added L4D2 gamedata to this.
Forum: Scripting 05-16-2017, 15:14
Replies: 4
Views: 1,378
Posted By Chaosxk
Re: add user flag

SetUserFlagBits(client, GetUserFlagBits(client)|ADMFLAG_RESERVATION|ADMFLAG_CUSTOM1);
Forum: Plugin/Gameplay Ideas and Requests 05-16-2017, 15:05
Replies: 12
Views: 5,208
Posted By Chaosxk
Re: Block Spectator List

Bumped, looks like SendProxy was updated for CS:GO, tested it and no longer crashes: https://forums.alliedmods.net/showpost.php?p=2518482&postcount=319

Uploaded updated code which should block...
Forum: Scripting 05-14-2017, 19:29
Replies: 4
Views: 1,378
Posted By Chaosxk
Re: add user flag

Do you mean the timestamp, because it's right there. If your asking why your getting -1 error, you should probably indent your code/enclose with brackets in GetRandomPlayer() otherwise its going to...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 19:27.


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