[code=php][/code] #include <amxmodx>
#include <fun>
#include <cstrike>
#include <colorchat>
#include <amxmisc>
#define PLUGIN "random"
#define VERSION "1.0"
#define AUTHOR "VaynekGames"
new const szWpnNames[][] = { "weapon_ak47", "weapon_m4a1", "weapon_awp", "weapon_deagle", "weapon_m249", "weapon_scout", "weapon_gail" };
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_logevent( "round_start", 2, "1=Round_Start" )
}
public start_mod(id){
give_item(id, szWpnNames[random(sizeof(szWpnNames))])
ColorChat(id,RED,"Oaia iiiaeinu %s",szWpnNames)
}
public round_start(id)
{
set_task(1.0, "start_mod", id)
}/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <fun>
#include <cstrike>
#include <colorchat>
#include <amxmisc>
#define PLUGIN "random"
#define VERSION "1.0"
#define AUTHOR "VaynekGames"
new const szWpnNames[][] = { "weapon_ak47", "weapon_m4a1", "weapon_awp", "weapon_deagle", "weapon_m249", "weapon_scout", "weapon_gail" };
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_logevent( "round_start", 2, "1=Round_Start" )
}
public start_mod(id){
give_item(id, szWpnNames[random(sizeof(szWpnNames))])
ColorChat(id,RED,"Oaia iiiaeinu %s",szWpnNames)
}
public round_start(id)
{
set_task(1.0, "start_mod", id)
}