Hi,
as in the title I wanted to write a plugin that gives the same infectious zombies garnet pomegranate dish is a breeze
Code:
* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fakemeta>
#include <hamsandwich>
#include <xs>
#include <fun>
#include <biohazard>
#define PLUGIN "INFECT GRENADE"
#define VERSION "1.0"
#define AUTHOR "DAKU[PL]"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public granat(id) {
if(is_user_alive(id))
{
if(is_user_infected(id))
{
give_item(id, "weapon_hegrenade");
client_print(id, print_chat, "[BIOHAZARD] Jestes zombi dostales granat infekcyjny");
// UP translate [BIOHAZARD] You are a zombie, you got a infect grenade
}
}
}
at the moment I have so much a person gets infected with a grenade and only so much I can do (I am newbie with scriptingu) I ask you for help