Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 55
Search took 0.00 seconds.
Search: Posts Made By: humbugtheman
Forum: Plugin/Gameplay Ideas and Requests 04-15-2016, 11:20
Replies: 6
Views: 2,153
Posted By humbugtheman
Forum: Scripting 04-12-2016, 12:24
Replies: 3
Views: 865
Posted By humbugtheman
Re: combine PrintToChat()'s

Could you use the "Format" function inside the loop to create the string you want to print, and then print the entire string after the loop has ended?
Forum: Snippets and Tutorials 04-10-2016, 06:01
Replies: 18
Views: 27,284
Posted By humbugtheman
Re: [SNIPPET] Detecting button presses (and releases)

What makes you think that "defining a variable inside a loop" is a bad habit????
Forum: Scripting 04-07-2016, 09:21
Replies: 5
Views: 1,922
Posted By humbugtheman
Re: delete kv = closehandle??

If you look at the wiki page's history you can view older versions that use the old syntax.
Forum: Snippets and Tutorials 04-07-2016, 05:54
Replies: 9
Views: 2,453
Posted By humbugtheman
Re: [Terrible Idea] Using the same function to set/get a string

Yeah that would be slightly less insane.
Forum: Snippets and Tutorials 04-06-2016, 15:16
Replies: 9
Views: 2,453
Posted By humbugtheman
Re: [Terrible Idea] Using the same function to set/get a string

Because you might want to set the string to a blank string.
Forum: Snippets and Tutorials 04-06-2016, 14:03
Replies: 9
Views: 2,453
Posted By humbugtheman
Re: [Terrible Idea] Using the same function to set/get a string

Correct! It is temporarily set to a hardcoded value before being overriden by the Name function. I did warn you: "terrible idea". Just a little 'what if' concept that shouldn't actually be used.
Forum: Snippets and Tutorials 04-06-2016, 11:27
Replies: 9
Views: 2,453
Posted By humbugtheman
Forum: Snippets and Tutorials 04-05-2016, 17:41
Replies: 9
Views: 2,453
Posted By humbugtheman
[Terrible Idea] Using the same function to set/get a string

You shouldn't do this as it's pointless and ugly, but I put this together because I was interested in the idea. The Name function can be used to set or get a string, depending on what parameter you...
Forum: Scripting 03-07-2016, 17:46
Replies: 2
Views: 1,115
Posted By humbugtheman
Re: Methodmap: Default parameters switching with value of "this"

Ok I switched to the dev branch and it's fixed there. Thank you very much! Loving using the transitional API.
Forum: Scripting 03-07-2016, 17:26
Replies: 2
Views: 1,115
Posted By humbugtheman
Methodmap: Default parameters switching with value of "this"

Can anyone point out if I'm doing something wrong? I swear this shouldn't be happening.
Basically...

* I have a function that returns a 'type' that I have defined in a methodmap.
* I use one of...
Forum: Snippets and Tutorials 02-21-2016, 19:19
Replies: 25
Views: 20,768
Posted By humbugtheman
Re: [TUT] Better Methodmaps tut

Thanks for the tut - very clear!
Forum: TF2Items 02-16-2016, 04:54
Replies: 6
Views: 3,456
Posted By humbugtheman
Forum: General 03-08-2013, 12:37
Replies: 735
Views: 506,336
Posted By humbugtheman
Re: Sourcemod for Dota 2?

Aha! Thank you, sir!
Forum: General 03-08-2013, 12:33
Replies: 735
Views: 506,336
Posted By humbugtheman
Re: Sourcemod for Dota 2?

Thanks, but this command or anything similar doesn't have any effect anywhere. I just get "Unknown command: dev_dota" or similar.
Forum: General 03-07-2013, 10:17
Replies: 735
Views: 506,336
Posted By humbugtheman
Re: Sourcemod for Dota 2?

I'm still struggling with this. I want to level up my hero to 25, but I can't find a command that works. I've tried dev_dota hero_level 25, hero_level 25, etc.. and sv_cheats is enabled. Can anyone...
Forum: General 03-06-2013, 17:41
Replies: 735
Views: 506,336
Posted By humbugtheman
Re: Sourcemod for Dota 2?

@Terin and @Tetl, thank you both for your answers, it's good to know both of those ways.
Forum: General 03-06-2013, 12:01
Replies: 735
Views: 506,336
Posted By humbugtheman
Re: Sourcemod for Dota 2?

Do you think you could explain this a little further please?
Forum: General 02-28-2013, 07:43
Replies: 735
Views: 506,336
Posted By humbugtheman
Re: Sourcemod for Dota 2?

That's great, thank you!
Forum: General 02-28-2013, 07:29
Replies: 735
Views: 506,336
Posted By humbugtheman
Re: Sourcemod for Dota 2?

Nice one, sounds good! Do you think you could post updates every now and then?
Forum: General 02-28-2013, 07:12
Replies: 735
Views: 506,336
Posted By humbugtheman
Sourcemod for Dota 2?

Now that the server.dll for Dota 2 has come out (http://www.reddit.com/r/DotA2/comments/19d69a/serverdll_added_with_test_client_patch/), is there any chance of sourcemod making its way into the game?
Forum: Scripting 08-04-2012, 13:37
Replies: 4
Views: 1,199
Posted By humbugtheman
Re: 4th slot work around

Had no idea about that, thanks!
Forum: Plugins 07-18-2012, 07:04
Replies: 18
Views: 20,544
Posted By humbugtheman
Re: [TF2] Show crit effect Market Gardener (v1.2)

I just tested this out, and it appears that it does fire when a player is forced to switch weapons due to running out of ammo.
Forum: Scripting 07-16-2012, 14:16
Replies: 6
Views: 2,154
Posted By humbugtheman
Re: Using Event_PlayerSpawn but only works on respawn

Every spawn and every time you touch the cabinet, so I guess that is the same time as TF2Items_OnGiveNamedItem. I always just use that event as I find that "player_spawn" can be unreliable.

It...
Forum: Scripting 07-15-2012, 14:07
Replies: 6
Views: 2,154
Posted By humbugtheman
Re: Using Event_PlayerSpawn but only works on respawn

You may find the "post_inventory_application" event useful.
Showing results 1 to 25 of 55

 
Forum Jump

All times are GMT -4. The time now is 13:52.


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