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

Showing results 1 to 25 of 69
Search took 0.03 seconds.
Search: Posts Made By: MockingBird
Forum: Scripting 11-15-2009, 12:48
Replies: 15
Views: 3,398
Posted By MockingBird
Re: Help with ammo please

Firstly, You dont need to set the m_iAmmo flag.

Secondly, that code tries to modify the clip on the client, when you want to modify the clip on the weapon.

SetEntData(wpn, clipOffset, 0, _,...
Forum: Scripting 11-15-2009, 10:21
Replies: 0
Views: 1,137
Posted By MockingBird
Parenting Props To Players

Hi all.

Im attempting to parent a prop_dynamic_override to a player (CS:S).

I have somewhat successfully done that with the code below:
GiveLunchTray(index)
{
if(lunchTrayIds[index] != 0)...
Forum: Scripting 11-15-2009, 03:31
Replies: 15
Views: 3,398
Posted By MockingBird
Re: Help with ammo please

There are 2 ways

You can either get the entid of the scout by use GetPlayerWeapon or something like that.

With that, you can set m_iClip1 to 0.

The otherway is to create the weapon first...
Forum: Scripting 11-15-2009, 01:22
Replies: 0
Views: 828
Posted By MockingBird
Spawning/Carrying a ragdoll

Hi all :)

Im working on a mod that stops you from dying, but I still want the ragdoll to be created. Is there a way to spawn a ragdoll?

The next part of my question is I need people to be able...
Forum: Scripting 11-14-2009, 21:23
Replies: 0
Views: 698
Posted By MockingBird
Spoofing a players voice.

Hi all..

This is a bit of a complicated question.

I would like to have someones voice appear as it is coming from someone else when they talk.

Two questions:
1) Is this possible without...
Forum: Scripting 11-13-2009, 22:45
Replies: 7
Views: 2,429
Posted By MockingBird
Re: Custom entities?

What do you need it for? There is probably an easier way to do what ever your thinking of doing :)
Forum: Scripting 11-12-2009, 07:28
Replies: 3
Views: 1,167
Posted By MockingBird
Re: Hooking Entities Issue

Ah.. thank you very much :)
Forum: Scripting 11-12-2009, 03:35
Replies: 3
Views: 1,167
Posted By MockingBird
Re: Hooking Entities Issue

I am still having this problem.

Shameless self-bump.
Forum: Scripting 10-24-2009, 11:34
Replies: 4
Views: 1,293
Posted By MockingBird
Re: Create Timers on events

I think its because your 'showHUD' function does not match the function type that should be passed into CreateTimer.

'showHUD' should look something like this:

public...
Forum: Scripting 10-24-2009, 10:48
Replies: 3
Views: 1,167
Posted By MockingBird
Hooking Entities Issue

Hey guys,

I have managed to hook entities so that they call back:
HookEntities()
{
new dungbell = EntRefToEntIndex(FindEnt("logic_relay", "dungbellxp"))
HookSingleEntityOutput(dungbell,...
Forum: Scripting 10-01-2009, 06:43
Replies: 4
Views: 1,431
Posted By MockingBird
Re: Hooking an entity

Ah I see, I was looking at it the wrong way (Trigger is an output from the entity, which is what I was thinking, but an input to the entity its firing at, which is what I should have been thinking...
Forum: Scripting 10-01-2009, 04:44
Replies: 11
Views: 2,765
Posted By MockingBird
Re: [L4D] Where is logical mistake?

That code is fine. 'ent' is initted to -1 because the FindEntityByClassname looks for entities PAST the index given. If you want to start at 0, the index needs to be -1. The new entity found is then...
Forum: Scripting 10-01-2009, 04:38
Replies: 4
Views: 1,431
Posted By MockingBird
Re: Hooking an entity

Wow, cant believe I missed that lol...

anyway I am now having an issue with the callback not being run.

HookEntities()
{
new dungbell = EntRefToEntIndex(FindEnt("logic_relay", "dungbellxp"))...
Forum: Scripting 09-30-2009, 00:29
Replies: 4
Views: 1,431
Posted By MockingBird
Hooking an entity

Hi all..

Im working on a plugin that requires interaction with the map. I want the plugin to be able to hook the entity, and run a function when that entity receives a certain input..

Is there...
Forum: Extensions 09-30-2009, 00:25
Replies: 35
Views: 24,361
Posted By MockingBird
Re: [EXTENSION] Memory Hack

This is more crude than crude oil.. and i like it xD
Forum: News 07-30-2009, 06:21
Replies: 20
Views: 16,774
Posted By MockingBird
Re: Logical Entity Support

No wai... I was wondering if sourcemod supported something like this like 2 days ago... suppose it does :P

Thanks guys.
Forum: Unapproved Plugins 06-18-2009, 05:37
Replies: 5
Views: 4,303
Posted By MockingBird
Re: VoteBan

W/e.

Dont shoot me for sharing or anything.
Forum: Unapproved Plugins 06-18-2009, 05:26
Replies: 5
Views: 4,303
Posted By MockingBird
Re: VoteBan

http://www.sourcemod.com/plugins.php?cat=0&mod=0&title=voteban&author=&description=&search=1

Where? I made this as a quick fix for my server because I couldn't find a voteban plugin, and I thought...
Forum: Unapproved Plugins 06-18-2009, 05:19
Replies: 5
Views: 4,303
Posted By MockingBird
VoteBan

Allows voteban functionality similar to manimod.

Cvar:
sm_voteban_rate - The percentage of players needed to voteban.

Sauce:
#include <sourcemod>
#include <menus>
#include <banning>...
Forum: Snippets and Tutorials 06-12-2009, 11:15
Replies: 12
Views: 5,240
Posted By MockingBird
Re: [HELP] "Metamod Attach Failed"

Thank you very much.

It doesn't work with the EP1 config unfortunately (Metamod doesnt attach).
Forum: Snippets and Tutorials 06-12-2009, 06:09
Replies: 12
Views: 5,240
Posted By MockingBird
Re: [HELP] "Metamod Attach Failed"

??

This is before I run it on the server.

I compiled the sample extension with metamod enabled, and it worked fine on the server.

Then when I tried my plugin, which uses GetEngineFactory, it...
Forum: Snippets and Tutorials 06-12-2009, 01:02
Replies: 12
Views: 5,240
Posted By MockingBird
Re: [HELP] "Metamod Attach Failed"

Yes I am compiling for CSS.

Im using the same version.

Ill try with 'old metamod'.

Thanks :)

EDIT:
Ok thanks that worked on the sample plugin, but now I get an error saying that...
Forum: Snippets and Tutorials 06-11-2009, 08:38
Replies: 12
Views: 5,240
Posted By MockingBird
Re: [HELP] "Metamod Attach Failed"

*rage*

I just saw that im compiling on 1.1.0, and running on 1.2.1.. which is strange cause i coulda sworn I updated the SDK and the server at the same time...

Ill update and see if this...
Forum: Snippets and Tutorials 06-11-2009, 03:27
Replies: 12
Views: 5,240
Posted By MockingBird
[HELP] "Metamod Attach Failed"

Hi all.

Im attempting to make an extension that requires metamod.

The extension compiles without error, however when it attempts to load on the server, I get this:
[SM] Unable to load...
Forum: Scripting 01-28-2009, 09:09
Replies: 11
Views: 5,480
Posted By MockingBird
Re: HL2: How to disable the "kill" command?

err... from what I understand, the record command should be completely client side as well.

Someone correct me if im wrong, but a 'fake' client command just tells the server that the client has...
Showing results 1 to 25 of 69

 
Forum Jump

All times are GMT -4. The time now is 21:22.


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