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(iPlayers, iHnum, "ae", "CT")
for( new iPlayer, i = 0; i < iHnum; i++ )
{
iPlayer = iPlayers[i]
give_item(iPlayer,"weapon_hegrenade")
set_hudmessage( 255, 0, 0, 0.09, 0.00, 1, 0.5, 1.0, 0.5, 15.0, -1)
show_hudmessage( 0, "*** Now you can use High Explosive Grenade ***")
}
}