AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Getting some things out of surf plugin (https://forums.alliedmods.net/showthread.php?t=93035)

naven 05-23-2009 13:36

Getting some things out of surf plugin
 
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

xPaw 05-23-2009 13:49

Re: Getting some things out of surf plugin
 
http://forums.alliedmods.net/showthread.php?p=610161
http://forums.alliedmods.net/showthread.php?p=358059
Searching roolz..

naven 05-23-2009 13:53

Re: Getting some things out of surf plugin
 
O_o, but there are still giving knvies at spawn

xPaw 05-23-2009 14:06

Re: Getting some things out of surf plugin
 
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" );
    }



naven 05-23-2009 14:41

Re: Getting some things out of surf plugin
 
oh, and I forgot about transfering to spectator when saying /spec
anyway + karma for you

xPaw 05-23-2009 14:45

Re: Getting some things out of surf plugin
 
Did you figured out that there no karma system on forums?

naven 05-23-2009 14:50

Re: Getting some things out of surf plugin
 
Well I see right now, but it was here...

SnoW 05-23-2009 16:34

Re: Getting some things out of surf plugin
 
Quote:

Originally Posted by N A V E N (Post 833230)
Well I see right now, but it was here...

LIES! There were no karma system.

naven 05-24-2009 01:02

Re: Getting some things out of surf plugin
 
xPaw profile:
Quote:

Karma: Excellent
It was here

Anyway, it's not topic to talk about it...

naven 06-15-2009 01:38

Re: Getting some things out of surf plugin
 
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


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

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