Raised This Month: $89 Target: $400

Showing results 1 to 25 of 500
Search took 0.52 seconds.
Search: Posts Made By: Powerlord
Forum: Scripting 08-18-2019, 11:26
Replies: 2
Views: 185
Posted By Powerlord
Re: [TF2] Green healing indicator, Ammo pack entity, Extinguish

2. I believe it's tf_ammo_pack

3. I believe it's the generic ExtinguishEntity (https://sm.alliedmods.net/new-api/sdktools_functions/ExtinguishEntity) function.
Forum: Scripting 08-15-2019, 22:50
Replies: 24
Views: 618
Posted By Powerlord
Re: [TF2] Client is not in game bug

See also: Race conditions in multi-threaded programming.
Forum: Scripting 08-13-2019, 19:27
Replies: 24
Views: 618
Posted By Powerlord
Re: [TF2] Client is not in game bug

Just to be clear, this is the only CreateTimer that uses the RespawnRebalanced callback?
Forum: General 08-13-2019, 19:01
Replies: 1
Views: 311
Posted By Powerlord
Re: Double Chat in TF2?

Well, the most likely culprit would be Simple Chat Processor, which is pretty old at this point. Simple Chat Processor Redux might fix this issue... not sure.

Forum: Off-Topic 08-11-2019, 13:39
Replies: 13
Views: 812
Posted By Powerlord
Re: about the newest cs 1.6 update

It's about time GoldSrc got the equivalent of Source's FCVAR_SERVER_CAN_EXECUTE
Forum: Scripting 08-02-2019, 18:26
Replies: 6
Views: 524
Posted By Powerlord

Did this break at some point? It used to work just fine and is still used in MapChooser Extended to this day.
Forum: Source Servers (SRCDS) 07-28-2019, 17:40
Replies: 7
Views: 451
Posted By Powerlord
Re: CSGO Workshop Collections are broken for me

Workshop maps can be referenced in mapcycle / maplist by their workshop id.


Forum: Scripting 07-22-2019, 12:27
Replies: 1
Views: 668
Posted By Powerlord
Re: Help with zephyrus store include's new syntax

Those enums are actually enum structs. If you want to use new syntax for them, check out the SourceMod 1.10 support for enum structs...
Forum: Source Servers (SRCDS) 07-20-2019, 19:55
Replies: 2
Views: 536
Posted By Powerlord
Re: Mapchange Loads Same Map Then Changes csgo

If you're using CS:GO's built in map voting, remove SourceMod's nextmap.smx plugin.
Forum: Scripting 07-17-2019, 17:51
Replies: 3
Views: 599
Posted By Powerlord
Re: new-style decl...

What the Doctor said.

Return type is required in new-style declarations. If your function doesn't return anything, use the void return type.
Forum: Scripting 07-14-2019, 13:17
Replies: 6
Views: 860
Posted By Powerlord
Re: Plugin does not call OnPluginStart when changing map

Well yeah, OnMapStart is called on map load, not for a round change. Players get disconnected/reconnected and the server executes certain config files on map changes... none of which happens on...
Forum: Scripting 07-06-2019, 20:13
Replies: 9
Views: 1,245
Posted By Powerlord
Re: Instruction contained invalid parameter

It's almost like Pawn (which isn't C) has memory limits in place since it's designed to work on embedded devices.
Forum: Scripting 06-24-2019, 09:45
Replies: 8
Views: 784
Posted By Powerlord
Re: Determining hour of the day and day of the week

UNIX timestamps don't include timezone information and is always the number of seconds since 1970 January 1 0:00 UTC.

The current UNIX time immediately before I posted this is 1561383914
Forum: Scripting 06-19-2019, 16:59
Replies: 7
Views: 934
Posted By Powerlord
Re: Hello I need help on TF2 Health

...or you could just use SDKHooks's SDKHook_GetMaxHealth hook, which works on all epv2 games including TF2 and has its gamedata updated by the AlliedModders staff.
Forum: Off-Topic 06-15-2019, 16:05
Replies: 43
Views: 4,003
Posted By Powerlord
Re: Your favorite programming language?

Java is really only used for Android phone apps and the backend of web applications these days.
Forum: Scripting 06-11-2019, 15:25
Replies: 4
Views: 1,044
Posted By Powerlord
Re: [TF2] Custom time using TF2s hud

TF2's HUD gets its time from a CTeamRoundTimer / team_round_timer.

Sometimes these timers have specific names, such as for Waiting for Player and KOTH clocks, but other times they don't.

Forum: Off-Topic 06-07-2019, 14:47
Replies: 32
Views: 4,129
Posted By Powerlord
Re: AlliedModders logo ???

What people say and what people actually mean are not always the same thing.

The topic from years ago had already shown that certain people were complaining about the logo when they were really...
Forum: Scripting 06-07-2019, 01:15
Replies: 4
Views: 727
Posted By Powerlord
Re: get data from other function.

Change other to take arguments and then call it with the data you retrieved.
Forum: Scripting 05-30-2019, 12:51
Replies: 5
Views: 781
Posted By Powerlord
Re: Set user FLAG ROOT

Why are you not putting this admin in the normal admin system?

Adding a root admin by SteamID in a plugin sounds extremely shady.
Forum: Scripting 05-24-2019, 12:36
Replies: 12
Views: 960
Posted By Powerlord
Re: grey out menu entries

While it's not the standard menu API, the TopMenus (https://sm.alliedmods.net/new-api/topmenus/TopMenu) API (used by the Admin menu) allows you to set permissions on menu items; items will only be...
Forum: Scripting 05-22-2019, 00:30
Replies: 5
Views: 795
Posted By Powerlord
Re: trusted menu - colors.inc issue

Are you running this plugin on CS:GO?

CS:S (and the other 3 games that run the same version of the engine) support using hexadecimal color codes while CS:GO doesn't. Hence why the MoreColors...
Forum: Scripting 05-18-2019, 19:01
Replies: 4
Views: 660
Posted By Powerlord
Re: [TF2] Can I replace the administrator sounds?

I don't remember if the point contested sounds are client-side or not.

If they aren't client-side, then yes, using a normal sound hook. Something like

// without the sounds/ directory
Forum: General 05-15-2019, 17:17
Replies: 3
Views: 414
Posted By Powerlord
Re: [CSGO] Remove Default End Timeleft Voting

There used to be a cvar mp_endmatch_votenextmap to disable the automatic end vote, but it hasn't been working for a while now. MapChooser Extended already sets this cvar in case Valve ever decides...
Forum: Scripting 05-15-2019, 15:26
Replies: 5
Views: 949
Posted By Powerlord
Re: How to get map names and add menu ?

Might want to change

ArrayList array = new ArrayList(64);
ArrayList array = new ArrayList(ByteCountToCells(64));

Also, the function GetMapDisplayName...
Forum: General 05-12-2019, 00:43
Replies: 5
Views: 417
Posted By Powerlord
Re: End of map Vote

Since this is CS:GO, doesn't it have to be in the current mapgroup in gamemodes_server.txt ?
Showing results 1 to 25 of 500

Forum Jump

All times are GMT -4. The time now is 11:35.

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