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

Explosive Grenade Chat


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SHIFT0
Senior Member
Join Date: Apr 2021
Location: Palestine
Old 11-06-2021 , 14:41   Explosive Grenade Chat
Reply With Quote #1

Hi guys this script from @Supremache
I want when 20seconds finish
all CT Listen a music called " Taktucal nuke ready, turn a key " cstrike/sound/ReadyHE.mp3
and in chat too

!g[Zombie Unique] !y*** Now you can use High Explosive Grenade ***

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

new g_Time;

public 
plugin_init()
{
    
register_plugin("Give grenade after 20 secound""1.0""Supremache"); 
    
register_logevent"LogEventRoundStart"2"1=Round_Start" )
    
    
g_Time register_cvar("amx_give_he_time""20");
}

public 
LogEventRoundStart()
{
    
set_task(get_pcvar_float(g_Time),"GiveHeGrenades",789123)
}

public 
GiveHeGrenades()
{
    new 
iPlayers[32], iHnum
    get_players
(iPlayersiHnum"ae""CT"
    
    for( new 
iPlayer0iHnumi++ )
    {
        
iPlayer iPlayers[i]
        
give_item(iPlayer,"weapon_hegrenade")
        
set_hudmessage255000.090.0010.51.00.515.0, -1)
        
show_hudmessage0"*** Now you can use High Explosive Grenade ***")
    }


Last edited by SHIFT0; 11-06-2021 at 14:47. Reason: Edited Errors
SHIFT0 is offline
 



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 03:28.


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