Raised This Month: $100 Target: $400
 25% 

Showing results 1 to 25 of 500
Search took 0.07 seconds.
Search: Posts Made By: bl4nk
Forum: Scripting 04-28-2015, 01:04
Replies: 5
Views: 345
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, 02:19
Replies: 5
Views: 420
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, 19:46
Replies: 5
Views: 420
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, 18:03
Replies: 19
Views: 1,453
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, 18:00
Replies: 13
Views: 1,289
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, 22:56
Replies: 5
Views: 622
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, 20:15
Replies: 9
Views: 704
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, 17:25
Replies: 2
Views: 293
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, 18:51
Replies: 8
Views: 744
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, 16:39
Replies: 36
Views: 3,011
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, 16:39
Replies: 8
Views: 744
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, 17:27
Replies: 36
Views: 3,011
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, 17:21
Replies: 8
Views: 744
Posted By bl4nk
Re: [TF2] Annotation

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

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

tf_player_drop_bonus_ducks 0
Forum: Scripting 12-09-2014, 00:59
Replies: 2
Views: 496
Posted By bl4nk
Re: iKillStreak was changed

Kill streaks, duck streaks, ??? streaks
Forum: Scripting 12-08-2014, 22:29
Replies: 9
Views: 715
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, 20:44
Replies: 20
Views: 5,022
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, 18:16
Replies: 20
Views: 5,022
Posted By bl4nk
Re: SteamTools not loading on Synergy (SM 1.6.3)

native bool:SteamWorks_SetGameDescription(String:sDesc[]);
Forum: Scripting 11-30-2014, 18:56
Replies: 6
Views: 578
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, 20:30
Replies: 6
Views: 358
Posted By bl4nk
Re: Stay on ground, not move, weapon.

Use the netprop m_hObserverTarget.
Forum: Snippets and Tutorials 11-26-2014, 18:54
Replies: 6
Views: 1,376
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-20-2014, 00:35
Replies: 4
Views: 583
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, 16:49
Replies: 1
Views: 270
Posted By bl4nk
Re: Admin Flags

https://sm.alliedmods.net/api/index.php?fastload=show&id=497&
Forum: General 11-13-2014, 01:10
Replies: 7
Views: 1,292
Posted By bl4nk
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 16:30.


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