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

Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: Powerlord
Forum: Scripting 06-21-2020, 19:43
Replies: 2
Views: 914
Posted By Powerlord
Re: [CSGO] Output of text in the voting menu

It's possible using a VotePass (https://wiki.alliedmods.net/Counter-Strike:_Global_Offensive_UserMessages#VotePass) usermessage, but why would you want to do this? Not only is it obtrusive, but it...
Forum: Scripting 06-18-2020, 19:13
Replies: 3
Views: 2,026
Posted By Powerlord
Re: [SM] Exception reported: Entity 1 (1) is invalid

You're missing a IsClientInGame check in there.
Forum: Source Servers (SRCDS) 06-17-2020, 16:12
Replies: 3
Views: 2,878
Posted By Powerlord
Re: Please help - workshop maps not showing and map vote not working

What plugin are you using for the map vote?

Since SourceMod 1.8, SourceMod has had a function GetMapDisplayName (https://sm.alliedmods.net/new-api/halflife/GetMapDisplayName) for turning...
Forum: Scripting 05-26-2020, 15:07
Replies: 10
Views: 1,955
Posted By Powerlord
Re: [TF2] mvm_mission_complete event not firing

The BfRead type as TF2 doesn't use Protobuffer UserMessages.
Forum: Scripting 11-25-2019, 17:20
Replies: 3
Views: 1,506
Posted By Powerlord
Re: GetAdminFlag Tag Mismatch

You can't emphasize this enough. CheckCommandAccess is designed for this very purpose: https://sm.alliedmods.net/new-api/console/CheckCommandAccess
Forum: Scripting 11-25-2019, 16:32
Replies: 2
Views: 1,154
Posted By Powerlord
Re: [CSGO] GetClientCount() returns wrong player count in OnClientDisconnect_Post

I'm not sure if this will work, but you could also try a post-event hook on the player_disconnect (https://wiki.alliedmods.net/Generic_Source_Server_Events#player_disconnect) event. This event only...
Forum: Source Servers (SRCDS) 10-01-2019, 23:42
Replies: 7
Views: 2,443
Posted By Powerlord
Re: Are we allowed to give players hats and knives/weapons now? Or talk about it?

It's weird acting like Valve only objected to giving people economy items in QuickPlay considering that originally patched the game engine to make economy items invisible to players in early 2010......
Forum: Source Servers (SRCDS) 09-26-2019, 20:25
Replies: 7
Views: 2,923
Posted By Powerlord
Re: [TF2] Srcds dies as soon as it launches

Does you error log have anything in it?

In addition to what PC Gamer said, if you try to start a mvm_ map, it will immediately close the game unless maxplayers is set to 32.
Forum: General 09-19-2019, 17:04
Replies: 5
Views: 2,105
Posted By Powerlord
Re: How do I server command every time a player respawns??

You may want to look into the post_inventory_application (https://wiki.alliedmods.net/Team_Fortress_2_Events#post_inventory_application) event, which is fired every time the game refreshes a player's...
Forum: Source Servers (SRCDS) 09-16-2019, 15:05
Replies: 2
Views: 1,954
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: 4,349
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: 3,436
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: 3,013
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: 3,436
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: 2,319
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: 2,362
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: 4
Views: 2,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: 3,822
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: 3,822
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: 1,820
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: 7,386
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: 1,923
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: 1,835
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: 1,996
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: 1,602
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.
Showing results 1 to 25 of 500

 
Forum Jump

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


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