/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "LosM4"
#define VERSION "1.0"
#define AUTHOR "Just"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("HLTV", "NewRound", "a" "1=0", "2=0");
}
public NewRound() {
if(is_user_alive(id) >=4){
los_m4()
}
}
public los_m4() {
switch(random_num(1, 2))
{
case 1:
{
client_print(id, print_chat, "\rNie wygrales M4!");
}
case 2:
{
clinet_print(id, print_chat, "\yWygrales M4! Gratulacje!!");
give_item(id, "weapon_m4a1");
}
}
}
Dobra już znalazłem. Do zamknięcia.
[uwaga=benio101]Ten temat został zamknięty przez moderatora.
Powód: Autor tematu zbanowany
Jeśli się z tym nie zgadzasz, raportuj ten post, a moderator lub administrator rozpatrzy go ponownie.
Z pozdrowieniami,
Zespół AMXX.PL[/uwaga]
Użytkownik benio101 edytował ten post 09.12.2012 01:55