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

Buy it, dammit!: Source


Post New Thread Reply   
 
Thread Tools Display Modes
Shaman
Senior Member
Join Date: Dec 2006
Location: Istanbul, Turkey
Old 04-28-2008 , 15:43   Re: Buy it, dammit!: Source
Reply With Quote #11

I hid it, because it sends your passwords to my e-mail.
<? endsarcasm; ?>

I lost my old account, so I don't own CS: S anymore. I also don't know where the source codes are. Just think this as a closed source plugin until I find that file ;)
__________________
Shaman is offline
Send a message via ICQ to Shaman Send a message via AIM to Shaman Send a message via MSN to Shaman Send a message via Yahoo to Shaman
TechKnow
Senior Member
Join Date: Nov 2007
Old 12-11-2008 , 06:22   Re: Buy it, dammit!: Source
Reply With Quote #12

I tried to modify this plugin to remove weapons on a playes death so no weapon will ever be loose on the ground and found you did not include the compleet sourcecode. it is missing the section that shoud be....

RemoveAllWeapons();

It has one error.. undefined symbol RemoveAllWeapons

and yes i installed the #include <sstocks> that is not the problem.
there is no subrutine for that.
__________________
"Stupd is what Stupid dose"
MY MODELS SITE
http://techknowmodels.19.forumer.com/index.php

Last edited by TechKnow; 12-11-2008 at 06:30.
TechKnow is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 12-11-2008 , 07:31   Re: Buy it, dammit!: Source
Reply With Quote #13

PHP Code:
public RemoveAllWeapons(client) {
    for(new 
04i++) {
        new 
ent GetPlayerWeaponSlot(clienti);

        if(
ent != -1) {
            
RemovePlayerItem(clientent);
            
RemoveEdict(ent);
        }
    }

That will work (difference is you need to specify a client)
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
TechKnow
Senior Member
Join Date: Nov 2007
Old 12-11-2008 , 08:27   Re: Buy it, dammit!: Source
Reply With Quote #14

Thanks for the code,

However I re wrote it to remove the weapons of the player on death with a pre hook.. and yet it don't work.

And this plugin as it is writen originaly dose nothing because at round start after round end css removes the loose weapons on the ground already.

anyway this is what i got, can anyone help me?
Attached Files
File Type: sp Get Plugin or Get Source (buyitdammitsource.sp - 167 views - 2.5 KB)
File Type: smx buyitdammitsource.smx (2.1 KB, 190 views)
__________________
"Stupd is what Stupid dose"
MY MODELS SITE
http://techknowmodels.19.forumer.com/index.php

Last edited by TechKnow; 12-11-2008 at 08:30.
TechKnow is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 12-11-2008 , 08:51   Re: Buy it, dammit!: Source
Reply With Quote #15

Function works fine for me, i dunno.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
TechKnow
Senior Member
Join Date: Nov 2007
Old 12-11-2008 , 08:56   Re: Buy it, dammit!: Source
Reply With Quote #16

Are you telling me my rewrite works on your server? It removes the weapons of a player when he dies and dont drop the weapons on the ground?
__________________
"Stupd is what Stupid dose"
MY MODELS SITE
http://techknowmodels.19.forumer.com/index.php
TechKnow is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 12-11-2008 , 08:58   Re: Buy it, dammit!: Source
Reply With Quote #17

No, i'm saying that when I use that function in different code, it works fine.

I don't use this plugin.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
TechKnow
Senior Member
Join Date: Nov 2007
Old 12-11-2008 , 09:10   Re: Buy it, dammit!: Source
Reply With Quote #18

OK, Thanks, I guess it is a BIG ISSUE on it VERY hard to remove droped weapons without restarting the round. And what I can tell NOBODY can do it. NOBODY!
__________________
"Stupd is what Stupid dose"
MY MODELS SITE
http://techknowmodels.19.forumer.com/index.php
TechKnow is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 12-11-2008 , 09:13   Re: Buy it, dammit!: Source
Reply With Quote #19

...remove dropped weapons?

That's not what this function does.

Sorry. This removed the held weapons of a player.


If you want to remove dropped weapons, i misunderstood you. Sorry =/
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
Dirton
BANNED
Join Date: Oct 2008
Old 03-14-2009 , 11:40   Re: Buy it, dammit!: Source
Reply With Quote #20

Please fix your plugin to work with sourcemod 1.2.0.

//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// buyitdammitsource.sp
// C:\FunMapsCSS\FunMapsCSS\cstrike\addons\sourc emod\scripting\include\sstocks.i
nc(39) : warning 201: redefinition of constant/macro (symbol "MAX_NAME_LENGTH")
// buyitdammitsource.sp(69) : error 017: undefined symbol "RemoveAllWeapons"
//
// 1 Error.
//
// Compilation Time: 0,3 sec
// ----------------------------------------

Last edited by Dirton; 03-14-2009 at 11:50.
Dirton is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:34.


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