Raised This Month: $ Target: $400
 0% 

Getting some things out of surf plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
naven
Veteran Member
Join Date: Jun 2008
Location: Poland, Cieszyn
Old 05-23-2009 , 13:36   Getting some things out of surf plugin
Reply With Quote #1

Hey, I need to retrieve some parts of code, that I cannot find, would you help me?
Here is plugin: http://forums.alliedmods.net/showthread.php?p=549903
Why I don't want it whole? Because I don't want to spam my database(if DB does not work, plugin crashes server), besides, I don't need everything that is included there.

What do I need?
-that thing, that blocks ppl to join terrorists team,
-thing that gives players knives and scouts(when they don't have it, example surf_1337maze- no weapons are given)
-disable buying

I have already found the respawn and semiclip thing(from dr manager), these things listed above are only things that I need
__________________
naven.com.pl
"At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.
naven is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-23-2009 , 13:49   Re: Getting some things out of surf plugin
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?p=610161
http://forums.alliedmods.net/showthread.php?p=358059
Searching roolz..
__________________
xPaw is offline
naven
Veteran Member
Join Date: Jun 2008
Location: Poland, Cieszyn
Old 05-23-2009 , 13:53   Re: Getting some things out of surf plugin
Reply With Quote #3

O_o, but there are still giving knvies at spawn
__________________
naven.com.pl
"At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.
naven is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-23-2009 , 14:06   Re: Getting some things out of surf plugin
Reply With Quote #4

PHP Code:
#include <amxmodx>
#include <fun>
#include <hamsandwich>

#define DELAY 0.3

public plugin_init() {
    
register_plugin"Give knife and scout""1.0""xPaw" );
    
    
RegisterHamHam_Spawn,    "player""fwdPlayerSpawn");
}

public 
fwdPlayerSpawnid ) {
    if( 
is_user_aliveid ) ) {
        
remove_taskid );
        
set_taskDELAY"GiveItems"id );
    }
}

public 
GiveItemsid ) {
    if( 
is_user_aliveid ) ) {
        
give_itemid"weapon_scout" );
        
give_itemid"weapon_knife" );
    }

__________________
xPaw is offline
naven
Veteran Member
Join Date: Jun 2008
Location: Poland, Cieszyn
Old 05-23-2009 , 14:41   Re: Getting some things out of surf plugin
Reply With Quote #5

oh, and I forgot about transfering to spectator when saying /spec
anyway + karma for you
__________________
naven.com.pl
"At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.
naven is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-23-2009 , 14:45   Re: Getting some things out of surf plugin
Reply With Quote #6

Did you figured out that there no karma system on forums?
__________________
xPaw is offline
naven
Veteran Member
Join Date: Jun 2008
Location: Poland, Cieszyn
Old 05-23-2009 , 14:50   Re: Getting some things out of surf plugin
Reply With Quote #7

Well I see right now, but it was here...
__________________
naven.com.pl
"At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.
naven is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 05-23-2009 , 16:34   Re: Getting some things out of surf plugin
Reply With Quote #8

Quote:
Originally Posted by N A V E N View Post
Well I see right now, but it was here...
LIES! There were no karma system.
SnoW is offline
Send a message via MSN to SnoW
naven
Veteran Member
Join Date: Jun 2008
Location: Poland, Cieszyn
Old 05-24-2009 , 01:02   Re: Getting some things out of surf plugin
Reply With Quote #9

xPaw profile:
Quote:
Karma: Excellent
It was here

Anyway, it's not topic to talk about it...
__________________
naven.com.pl
"At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.
naven is offline
naven
Veteran Member
Join Date: Jun 2008
Location: Poland, Cieszyn
Old 06-15-2009 , 01:38   Re: Getting some things out of surf plugin
Reply With Quote #10

Anyway, exolent plugin doesn't work as I expected. Yes, it works, but it allow players to change team while in game- I do not want that
__________________
naven.com.pl
"At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.
naven 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 01:34.


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