Okay here is the plugin. :
NOTE : At the top where it says :
#define TIME 5.0
( You can change the number from 5 seconds to however long you want the message to be shown on the center of the screen )
Code:
#define TIME 5.0
#include <amxmodx>
#include <fun>
public plugin_init()
{
register_plugin("Shield War","1","Poison_Jay");
register_event("CurWeapon","shield","be","1=1")
register_cvar("amx_shieldwar","1");
}
public shield(id) {
if(get_cvar_num("amx_shieldwar")==0)
return PLUGIN_CONTINUE
if(get_cvar_num("amx_shieldwar")==1) {
give_item(id,"weapon_shield")
give_item(id,"weapon_deagle")
give_item(id,"ammo_50ae")
give_item(id,"ammo_50ae")
give_item(id,"ammo_50ae")
give_item(id,"ammo_50ae")
give_item(id,"ammo_50ae")
set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 6.0, TIME, 0.5, 1.5, 4 )
show_hudmessage(0, "ShieldWar mode has been enabled")
}
return PLUGIN_HANDLED
}