Raised This Month: $ Target: $400
 0% 

[H3LP] Weapon Respawn Time


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Craxor
Veteran Member
Join Date: Jan 2016
Location: Romania
Old 04-20-2017 , 14:14   Re: [H3LP] Weapon Respawn Time
Reply With Quote #9

He mean to call when the weapons from the ground ( example fy_snow weapons ) are being created.

Example, when a new WEAPONBOX entity are maded.

This will be scanned ONLY when you pickup an m4a1, that's when you first create a m4a1 weaponbox:

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

public plugin_init( )
{
    
RegisterHamHam_Spawn "weapon_m4a1""Test" );
}

public 
TestEnt )
{
    if( !
pev_validEnt ) )
        return 
PLUGIN_HANDLED;

    new 
szClass15 ];
    
pevEnt pev_classnameszClasscharsmaxszClass ) );

    
server_print"%s "szClass );
    return 
PLUGIN_CONTINUE;

__________________
Project: Among Us

Last edited by Craxor; 04-20-2017 at 14:16.
Craxor is offline
Send a message via ICQ to Craxor
 



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 18:00.


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