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

[REQ] No pistol at roundstart, new round and respawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
blanko
Senior Member
Join Date: Aug 2008
Old 01-09-2018 , 00:24   [REQ] No pistol at roundstart, new round and respawn
Reply With Quote #1

Remove the free glock/usp given at roundstart, new round and respawn
__________________
blanko is offline
blanko
Senior Member
Join Date: Aug 2008
Old 01-13-2018 , 01:39   Re: [REQ] No pistol at roundstart, new round and respawn
Reply With Quote #2

not possible?
__________________
blanko is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 01-13-2018 , 06:40   Re: [REQ] No pistol at roundstart, new round and respawn
Reply With Quote #3

Here's a lazy common way:
PHP Code:
#include <amxmodx>
#include <fun>
#include <hamsandwich>

#pragma semicolon true

public plugin_init()
{
    
register_plugin("PLUGIN""VERSION""AUTHOR");
    
    
RegisterHam(Ham_Spawn"player""@Player_Spawn"true);
}

@
Player_Spawn(this)
{
    if(!
is_user_alive(this))
    {
        return 
HAM_IGNORED;
    }
    
    
strip_user_weapons(this);
    
give_item(this"weapon_knife");
    
    return 
HAM_IGNORED;

__________________
klippy 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 11:34.


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