Raised This Month: $ Target: $400
 0% 

C4


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MeSter Hungary
Junior Member
Join Date: Dec 2014
Old 02-07-2015 , 03:29   C4
Reply With Quote #1

Hi
Seeking a plugin which is able to carry veni c4 someone else and be there .

amx_c4_give <name> <name>
MeSter Hungary is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 02-07-2015 , 07:52   Re: C4
Reply With Quote #2

  • Don't understand.
  • What's veni ?
  • Search for C4* or *bomb* ib titles.
__________________
ANTICHRISTUS is offline
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 02-07-2015 , 10:10   Re: C4
Reply With Quote #3

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta_util>

new const szPrefix[] = "[BombTransfer]"

public plugin_init()
{
    
register_plugin("Bomb Transfer""1.0""Flicker")
    
register_concmd("amx_c4_give""onMainCmd"ADMIN_KICK"<carrier> <new carrier>")
}

public 
onMainCmd(idlevelcid)
{
    if(!
cmd_access(idlevelcid3))
        return 
PLUGIN_HANDLED
        
    
new szCarrier[32], szRecipient[32]
    
read_argv(1szCarriercharsmax(szCarrier))
    
read_argv(2szRecipientcharsmax(szRecipient))
    
    new 
carrier cmd_target(idszCarrierCMDTARGET_ONLY_ALIVE)
    new 
recipient cmd_target(idszRecipientCMDTARGET_ONLY_ALIVE)
    
    if(!
carrier || !recipient)
        return 
PLUGIN_HANDLED
        
    
new szNameC[32], szNameR[32]
    
get_user_name(carrierszNameCcharsmax(szNameC))
    
get_user_name(recipientszNameRcharsmax(szNameR))
    
    if(
get_user_team(carrier) != || get_user_team(carrier) != get_user_team(recipient))
    {
        
console_print(id"%s Some of the players is not a terrorist!"szPrefix)
        return 
PLUGIN_HANDLED
    
}
        
    if(!
user_has_weapon(carrierCSW_C4))
    {
        
console_print(id"%s Player %s doesn't have the C4!"szPrefixszNameC)
        return 
PLUGIN_HANDLED
    
}
    
    
fm_transfer_user_gun(carrierrecipientCSW_C4)
    
console_print(id"%s You successfully transfered the bomb from %s to %s!"szPrefixszNameCszNameR)
    
client_print(carrierprint_chat"%s Your bomb was transfered to %s!"szPrefixszNameR)
    
client_print(recipientprint_chat"%s You have got the bomb from %s!"szPrefixszNameC)
    
    return 
PLUGIN_HANDLED

__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
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 02:48.


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