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

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: bl4nk
Forum: Plugins 02-13-2020, 14:27
Replies: 20
Views: 13,382
Posted By bl4nk
Re: [TF2] Deathrun Redux 2019

Try this out. I just removed that line that was giving the error, it doesn't seem like it's needed.
Forum: Scripting 04-28-2015, 00:04
Replies: 5
Views: 1,148
Posted By bl4nk
Re: Make code for all the Terrorist

That code will only give a player a weapon if they have one in their primary slot already. Move the GivePlayerItem call outside of that if statement. Also, why call GetPlayerWeaponSlot twice? Just...
Forum: Scripting 03-27-2015, 01:19
Replies: 5
Views: 1,311
Posted By bl4nk
Re: EmitSoundToAll problem

Was drinking when I made my reply, and what I was trying to say didn't come out right. You're playing the sound from the world, and trying to stop it on the client. I think that your problem is that...
Forum: Scripting 03-25-2015, 18:46
Replies: 5
Views: 1,311
Posted By bl4nk
Re: EmitSoundToAll problem

Where did you use SNDCHAN_AUTO? You should use it where you're using SOUND_FROM_WORLD, as well as in StopSound() where you have 8.
Forum: Scripting 01-28-2015, 17:03
Replies: 19
Views: 5,647
Posted By bl4nk
Re: Writing Include Files (.inc)

The only way to do what you're looking for would be to use natives or forwards (depending on the case) to pass the information along through the separate plugins.
...
Forum: Scripting 01-28-2015, 17:00
Replies: 13
Views: 3,554
Posted By bl4nk
Re: how to restrict deagle on awp maps

GetPlayerWeaponSlot will always either return a valid edict or -1. The IsValidEdict call would be (negligible, but still) a waste in this case.
Forum: Scripting 01-27-2015, 21:56
Replies: 5
Views: 1,556
Posted By bl4nk
Re: Tag Mismatch

Forget that IsValidClient stock, just use IsClientInGame. You already know that i will be greater than 0 and less than MaxClients+1, and IsClientInGame already checks to see if the client is...
Forum: Scripting 12-23-2014, 19:15
Replies: 9
Views: 2,560
Posted By bl4nk
Re: Temp Limit?

He's saying show the first 16 on one frame, and the second 16 on the next frame, and just keep alternating between the two.
Forum: Scripting 12-23-2014, 16:25
Replies: 2
Views: 1,107
Posted By bl4nk
Re: [TF2] Why'd this stop working?

Try either delaying the player being moved by a frame or run a timer to do it a short time later (0.1 seconds should work fine).
Forum: Scripting 12-22-2014, 17:51
Replies: 8
Views: 2,086
Posted By bl4nk
Re: [TF2] Annotation

So do what I did in my first post in this thread. I'm still not sure what you were asking me for in the other post.
Forum: Scripting 12-21-2014, 15:39
Replies: 36
Views: 11,685
Posted By bl4nk
Re: [Help] Spawning Rocket (TF2)

Sorry, should have said that I was talking about inside of FindSendPropInfo().
Forum: Scripting 12-21-2014, 15:39
Replies: 8
Views: 2,086
Posted By bl4nk
Re: [TF2] Annotation

Good question. I'd assume it would cause problems due to IA-32, but I haven't tested it myself.



That's not how bit shifting works. What are you trying to do here?
Forum: Scripting 12-20-2014, 16:27
Replies: 36
Views: 11,685
Posted By bl4nk
Re: [Help] Spawning Rocket (TF2)

"tf_projectile_rocket" isn't the name of the netclass classname. You'll want to use "CTFProjectile_Rocket" instead.
Forum: Scripting 12-20-2014, 16:21
Replies: 8
Views: 2,086
Posted By bl4nk
Re: [TF2] Annotation

SetEventInt(event, "visibilityBitfield", (1 << client));
Forum: Scripting 12-17-2014, 17:44
Replies: 5
Views: 1,350
Posted By bl4nk
Re: Variables getallclients help

Should also be <=, not <.
Forum: General 12-09-2014, 15:13
Replies: 11
Views: 2,941
Posted By bl4nk
Re: [TF2]Stop the Ducks

tf_player_drop_bonus_ducks 0
Forum: Scripting 12-08-2014, 23:59
Replies: 2
Views: 1,249
Posted By bl4nk
Re: iKillStreak was changed

Kill streaks, duck streaks, ??? streaks
Forum: Scripting 12-08-2014, 21:29
Replies: 9
Views: 2,811
Posted By bl4nk
Re: [MENU] Spacer

You can always do it with a panel instead of a menu. Doing DrawPanelText(panel, " ") would create a blank line, and you can use SetPanelCurrentKey().
Forum: SteamTools 12-07-2014, 19:44
Replies: 20
Views: 16,404
Posted By bl4nk
Re: SteamTools not loading on Synergy (SM 1.6.3)

You would just do the following, not copy the whole function declaration:
SteamWorks_SetGameDescription(description);
Forum: SteamTools 12-07-2014, 17:16
Replies: 20
Views: 16,404
Posted By bl4nk
Re: SteamTools not loading on Synergy (SM 1.6.3)

native bool:SteamWorks_SetGameDescription(String:sDesc[]);
Forum: Scripting 11-30-2014, 17:56
Replies: 6
Views: 1,789
Posted By bl4nk
Re: SDKHooks What R U Doing M8

Try using this definition of the OnTakeDamage function instead:
(victim, &attacker, &inflictor, &Float:damage, &damagetype, &weapon, Float:damageForce[3], Float:damagePosition[3], damagecustom)
Forum: Scripting 11-26-2014, 19:30
Replies: 6
Views: 1,246
Posted By bl4nk
Re: Stay on ground, not move, weapon.

Use the netprop m_hObserverTarget.
Forum: Snippets and Tutorials 11-26-2014, 17:54
Replies: 6
Views: 3,168
Posted By bl4nk
Re: [TF2] Reorienting a sentry gun

Are you sure about this? Last time I tried to hook the think function, I had to manually set the m_nNextThinkTick netprop on the sentry to get it to actually "think".
Forum: Scripting 11-19-2014, 23:35
Replies: 4
Views: 1,722
Posted By bl4nk
Re: EmitSound* updatePos (and some other stuff)

You could always do this:
EmitSoundToAll(SOUND_DEMOPAN_RAGE, .updatePos=false);
Forum: Scripting 11-15-2014, 15:49
Replies: 1
Views: 810
Posted By bl4nk
Re: Admin Flags

https://sm.alliedmods.net/api/index.php?fastload=show&id=497&
Showing results 1 to 25 of 500

 
Forum Jump

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


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