Raised This Month: $115 Target: $400
 28% 

Showing results 1 to 25 of 500
Search took 0.74 seconds.
Search: Posts Made By: Powerlord
Forum: Source Servers (SRCDS) 09-16-2019, 15:05
Replies: 1
Views: 154
Posted By Powerlord
Re: [TF2] CP maps ending on map time end, not round time end

5CP and CTF are intentionally designed to work this way, starting a Sudden Death round if the team scores are tied (and the server is configured to do Sudden Death).

A/D CP shouldn't be doing...
Forum: Snippets and Tutorials 09-11-2019, 17:15
Replies: 1
Views: 521
Posted By Powerlord
Re: [TF2]Editing Round Timer

For TF2 Prop Hunt, I actually hooked my team_round_timer spawning to the SDKHook_SpawnPost of the team_control_point_master entity. As a failsafe, I check in teamplay_round_start to see if a TCPM...
Forum: General 09-10-2019, 17:11
Replies: 14
Views: 559
Posted By Powerlord
Re: Two map lists, Default and Nominations

Oh, I think I know why that is. MapChooser isn't updated very often and I don't think it was ever updated to respect CS:GO's mp_map_can_clinch cvar, which is what tells CS:GO to end a map if one...
Forum: Scripting 09-09-2019, 12:27
Replies: 11
Views: 629
Posted By Powerlord
Re: [HELP] Get All Cmd Args

The function GetCmdArgString (https://sm.alliedmods.net/new-api/console/GetCmdArgString) will do exactly what you want.
Forum: General 09-07-2019, 20:14
Replies: 14
Views: 559
Posted By Powerlord
Re: Two map lists, Default and Nominations

"target" "addons/sourcemod/configs/randomcycle.ini"

should be

"file" "addons/sourcemod/configs/randomcycle.ini"

Edit:

Likewise
Forum: Scripting 09-05-2019, 19:36
Replies: 5
Views: 625
Posted By Powerlord
Re: Return value for PrintToChatAll ?

...just use the version of PrintToChatAll (https://sm.alliedmods.net/new-api/halflife/PrintToChatAll) that exists in the SourceMod API.

Edit: If you really want to know what the code for...
Forum: Scripting 08-27-2019, 18:20
Replies: 6
Views: 794
Posted By Powerlord
Re: SetMenuOptionFlags(menu, MENUFLAG_BUTTON_NOVOTE) results in misaligned menu

Votes usually don't have an Exit button, so Previous and Next get moved down.
Forum: Scripting 08-18-2019, 11:26
Replies: 2
Views: 616
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: 954
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: 954
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: 534
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.

Edit:...
Forum: Off-Topic 08-11-2019, 13:39
Replies: 14
Views: 1,496
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: 659
Posted By Powerlord
Re: ITEMDRAW_DISABLED error

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: 573
Posted By Powerlord
Re: CSGO Workshop Collections are broken for me

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

i.e.

workshop/279697343
Forum: Scripting 07-22-2019, 12:27
Replies: 1
Views: 727
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: 604
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: 641
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: 939
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,287
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: 804
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: 981
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,679
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,062
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.

You...
Forum: Off-Topic 06-07-2019, 14:47
Replies: 32
Views: 4,826
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: 732
Posted By Powerlord
Re: get data from other function.

Change other to take arguments and then call it with the data you retrieved.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 07:20.


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