Raised This Month: $32 Target: $400
 8% 

rearm terror


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cirovic
Senior Member
Join Date: Sep 2019
Old 09-01-2020 , 10:41   rearm terror
Reply With Quote #1

okay so, im running plugin that gives people speed and gravity when they hold knife, problem is then TERROR spawns, he does not get speed and gravity.. he need to get rearmed with knife to get speed and gravity.. so it will be good if anyone can make after 1 sec of round start, terror get knife again.. hope u guys understand its hard to explain.
Cirovic is offline
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 09-05-2020 , 02:18   Re: rearm terror
Reply With Quote #2

you should attach the plugin here. Its a bad practice to fix one plugin with another plugin
__________________
retired chump
DjSoftero is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 09-05-2020 , 07:15   Re: rearm terror
Reply With Quote #3

Quote:
Originally Posted by Cirovic View Post
okay so, im running plugin that gives people speed and gravity when they hold knife, problem is then TERROR spawns, he does not get speed and gravity.. he need to get rearmed with knife to get speed and gravity.. so it will be good if anyone can make after 1 sec of round start, terror get knife again.. hope u guys understand its hard to explain.
Put your plugin and I will do what you want
Supremache is offline
Cirovic
Senior Member
Join Date: Sep 2019
Old 09-05-2020 , 13:44   Re: rearm terror
Reply With Quote #4

no need for edit plugin, just need new plugin that will give terror KNIFE after 1 sec of round start.
Cirovic is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 09-05-2020 , 14:12   Re: rearm terror
Reply With Quote #5

Quote:
Originally Posted by Cirovic View Post
no need for edit plugin, just need new plugin that will give terror KNIFE after 1 sec of round start.
Okay then try this plugin
PHP Code:
#include <amxmodx>

public plugin_init() 
{
    
register_plugin("Give Knife When Round Start""1.0""Supremache")
    
register_event("HLTV",     "ev_RoundStart""a""1=0""2=0")
}

public 
ev_RoundStart(id)
{
    
engclient_cmd(id"weapon_knife");

Supremache is offline
Cirovic
Senior Member
Join Date: Sep 2019
Old 09-05-2020 , 14:35   Re: rearm terror
Reply With Quote #6

only for terror bro
Cirovic is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 09-05-2020 , 15:01   Re: rearm terror
Reply With Quote #7

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

public plugin_init() 
{
    
register_plugin"Give Knife When Round Start" "1.0" "Supremache" );
    
register_event"HLTV" "ev_RoundStart" "a" "1=0" "2=0" );
}

public 
ev_RoundStart(id)
{
    
set_task1.0 "DelayGive" );
}

public 
DelayGive()
{
    new 
iPlayers32 ] , iNum iPlayer;
    
    
get_playersiPlayers iNum "e" "TERRORIST" );
    
    for ( new 
iNum i++ )
    {
        
iPlayer iPlayers];
        
        
strip_user_weaponsiPlayer );
        
give_itemiPlayer "weapon_knife" );
        
        
//Not sure if this is needed based on your request
        //engclient_cmd( iPlayer , "weapon_knife" );
    
}

__________________

Last edited by Bugsy; 09-06-2020 at 11:10.
Bugsy is offline
Stefanos
Senior Member
Join Date: May 2020
Old 09-05-2020 , 16:49   Re: rearm terror
Reply With Quote #8

can u check my request bugsy please https://forums.alliedmods.net/showthread.php?t=327149
Stefanos is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 09-05-2020 , 17:09   Re: rearm terror
Reply With Quote #9

Quote:
Originally Posted by Stefanos View Post
can u check my request bugsy please https://forums.alliedmods.net/showthread.php?t=327149
UFF, It's my problem if i did something wrong in my plugin, who used my plugin thinking i dont have any experience.

P.s: My plugin working perfectly but i didn't remmber you want it only for terrorist team and i was will edit it but i saw Bugsy gave you it but i want to tell you bugsy is professional but he can't reply on all of your requests.

P.s2: I have only 4 month when i learned scripting and i learning everything so fast and if i continue i think i will be professional
Supremache is offline
Stefanos
Senior Member
Join Date: May 2020
Old 09-05-2020 , 23:11   Re: rearm terror
Reply With Quote #10

i dont get knife on start bugsy, and yeah, just to let you know, i have knife on round start but i need to get it again because speed of my knife get bugged.. so try maybe to my knife disappear and give again.. i hope u understand

Last edited by Stefanos; 09-06-2020 at 00:06.
Stefanos is offline
Old 09-05-2020, 23:13
Stefanos
This message has been deleted by Stefanos.
Reply


Thread Tools
Display Modes

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 12:20.


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