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

Showing results 1 to 25 of 260
Search took 0.01 seconds.
Search: Posts Made By: QOOOOOOOOQ
Forum: Metamod:Source Plugins 12-13-2015, 07:00
Replies: 1,528
Views: 1,720,419
Posted By QOOOOOOOOQ
Re: L4DToolZ Metamod plugin (l4d1 & l4d2)

Direct it to the correct path.

On another note, is someone able to update the signatures for linux l4d1? I'm pretty sure Windows is fine, but many of us would greatly appreciate an update for the...
Forum: Scripting 05-14-2015, 14:06
Replies: 4
Views: 740
Posted By QOOOOOOOOQ
Re: How to right-align a string?

Looks like I'll have to make some kind of formula to set the formatting parameters correctly and probably concatenate different strings together depending on strlen then, so that the last...
Forum: Scripting 05-14-2015, 12:52
Replies: 4
Views: 740
Posted By QOOOOOOOOQ
How to right-align a string?

https://wiki.alliedmods.net/Format_Class_Functions_%28SourceMod_Scripting%29#Advanced_Formatting

I'm trying to print a little text-box like thing to player's consoles and can't unwrap my mind...
Forum: Scripting 05-13-2015, 12:11
Replies: 2
Views: 474
Posted By QOOOOOOOOQ
Re: Recursive ConVar Creation Not Working?

I seen it to and remember telling myself it'd be a problem, but still forgot to correct it. Surprised it didn't bring up any kind of errors, though. Thanks
Forum: Scripting 05-13-2015, 12:10
Replies: 4
Views: 1,117
Posted By QOOOOOOOOQ
Re: DataPack vs Global Strings?

I see, so it's mostly for versatility. Since my 3 strings only change values when a convar is changed and always remain the same otherwise, I suppose I don't need DataPack. Thanks
Forum: Scripting 05-13-2015, 01:46
Replies: 2
Views: 474
Posted By QOOOOOOOOQ
Recursive ConVar Creation Not Working?

Trying to make some sort of config-loader, with up to 32 configs. This will create 32x3 convars, so instead of a 5-minute scroll through the plugin, I figured I'd just make it all into one for loop,...
Forum: Scripting 05-12-2015, 23:46
Replies: 4
Views: 1,117
Posted By QOOOOOOOOQ
DataPack vs Global Strings?

I was using 3 data packs for 3 separate two-dimensional string-arrays, packed once in after the plugin starts, then assigned to new two-dimensional string-arrays and used in more than two functions....
Forum: Scripting 05-12-2015, 14:54
Replies: 0
Views: 485
Posted By QOOOOOOOOQ
Can't connect lobby of players to server? L4D

Combined from multiple sources, this came together. For some reason, with this plugin installed and a lobby full of people are trying to connect to the server (through mm_dedicated_force_servers...
Forum: Source Servers (SRCDS) 05-12-2015, 03:40
Replies: 0
Views: 321
Posted By QOOOOOOOOQ
Forum: Scripting 03-23-2015, 03:53
Replies: 0
Views: 357
Posted By QOOOOOOOOQ
Multiple Player Panels

Is it possible in any way to have multiple player panels? One purely visual and another with selectable options, for example? Otherwise, is it possible to somehow have pictures show up on client...
Forum: Scripting 11-27-2014, 04:53
Replies: 4
Views: 1,253
Posted By QOOOOOOOOQ
Re: SetConVarString Crashing Server?

Damn, completely forgot about that, looks like I'll have to look up the trie value string for the convar, then check for consistency before I alter the convar then. Thanks. (Storing the convar value...
Forum: Scripting 11-27-2014, 03:47
Replies: 4
Views: 1,253
Posted By QOOOOOOOOQ
SetConVarString Crashing Server?

public Action:EC_Command_LockConvar(iClient, iArgs)
{
/*
* Get all the command information in one lump sum, along with making sure the command was given correct params.
*/
...
Forum: Scripting 11-24-2014, 04:29
Replies: 4
Views: 1,089
Posted By QOOOOOOOOQ
Re: Timer Issue

I know it won't compile, it was half-in-progress and I'd just wanted to get past this part. I don't know what you mean about comparing timestamps... I don't understand what method you're hinting at....
Forum: Scripting 11-23-2014, 17:51
Replies: 4
Views: 1,089
Posted By QOOOOOOOOQ
Re: Timer Issue

This is L4D, hooking player_spawn won't work, it's fired multiple times when someone is still on the same team. I didn't know about a different broadcast even for team changes, I assume it's a...
Forum: Scripting 11-23-2014, 16:13
Replies: 4
Views: 1,089
Posted By QOOOOOOOOQ
Timer Issue

I'm hooking 'player_team' to announce when a player switches teams, but I need to account for the bad event handling of srcds. When a client switches teams, ie from 2 -> 1, then get placed 2 -> 3 ->...
Forum: Scripting 11-19-2014, 02:19
Replies: 2
Views: 810
Posted By QOOOOOOOOQ
Forum: Scripting 11-19-2014, 00:01
Replies: 2
Views: 810
Posted By QOOOOOOOOQ
StrEqual Not Working Correctly?

Plugin dynamically hooks and unhooks convars on admin request.

public Action:Command_LC(iClient, iArgs)
{
new Handle:hConVar = FindConVar(sConVar);
if(hConVar == INVALID_HANDLE)
...
Forum: Scripting 11-18-2014, 01:57
Replies: 4
Views: 903
Posted By QOOOOOOOOQ
Re: How to know if a convar is hooked?

Oki, thanks everyone, I guess the way I'll do it then is to add convars to an array of tracked convars, then just check that to see if a convar is tracked.
Forum: Scripting 11-17-2014, 19:51
Replies: 4
Views: 903
Posted By QOOOOOOOOQ
How to know if a convar is hooked?

The title says it all, my plugin is supposed to dynamically hook and unhook convars based on admin commands given, if an admin executes an unhook command, but the convar isn't yet hooked, it throws...
Forum: Scripting 11-16-2014, 02:27
Replies: 3
Views: 1,154
Posted By QOOOOOOOOQ
Re: SMLib Colors w/ Defines Issues

BUT... it doesn't work at all. :| It literally does nothing, the plugin might as well be unloaded.
Error (Client_PrintToChat):

[SM] Native "VFormat" reported: Client index 8212091 is invalid
I...
Forum: General 11-16-2014, 01:58
Replies: 5
Views: 1,429
Posted By QOOOOOOOOQ
Re: How to disable automatic plugin reloading

Ok, this method doesn't work. That's not a default SourceMod file, so I added it in with the correct properties, and it didn't work. (It did nothing.)
Forum: Scripting 11-16-2014, 01:27
Replies: 3
Views: 1,154
Posted By QOOOOOOOOQ
Re: SMLib Colors w/ Defines Issues

Ah thanks, it's always those little things that get me the most frustrated... As for the second part, I don't know what that means, I think you mean I should be using %d or %i instead? The macros...
Forum: Scripting 11-15-2014, 20:25
Replies: 3
Views: 1,154
Posted By QOOOOOOOOQ
SMLib Colors w/ Defines Issues

#define TEAM_NAME(%1) (%1 == 1 ? "Spc" : (%1 == 2 ? "Sur" : (%1 == 3 ? "Inf" : "Con")))
#define TEAM_COLOR(%1) (%1 == 1 ? "{L}" : (%1 == 2 ? "{B}" : (%3 == 3 ? "{R}" : "{N}")))

public...
Forum: Scripting 11-14-2014, 20:39
Replies: 1
Views: 700
Posted By QOOOOOOOOQ
HookConVarChange Technicalities...

When a HookConVarChange callback is invoked, say the only thing in the callback is:

SetConVarString(convar, oldValue);

For something like 'sv_cheats', changing the value results in numerous...
Forum: Scripting 11-14-2014, 15:46
Replies: 5
Views: 1,869
Posted By QOOOOOOOOQ
Re: What Does GetUserAdmin Return?

Yeah, I had seen it, but I thought ultimately it meant 'new adminid' would be a generic cell, and GetUserAdmin return a generic cell, so they would be the same tag...
Showing results 1 to 25 of 260

 
Forum Jump

All times are GMT -4. The time now is 01:53.


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