Mensajes: 253
Temas: 92
Registro en: Apr 2020
Reputación:
1
Holaa como andan? Buenas noches. Ando en busca de un plugin Faka AutoReset score.
Cuando un jugar fakee a otro jugador se le reincie el score.
Mensajes: 395
Temas: 48
Registro en: Oct 2018
Reputación:
6
Aca tenes hermoso.
Código PHP:
#include <amxmodx>
#include <cstrike>
#include <hamsandwich>
#include <fun>
public plugin_init()
{
register_plugin("Fakaso AUTO-RESTATIVO", "0.0", "cosmofulanito");
register_event("DeathMsg", "ev_morido", "a", "1>0")
}
public ev_morido()
{
static id, victima, szwpn[10];
id = read_data(1), victima = read_data(2), read_data(4, szwpn, 9);
if (szwpn[0] == 'k' && szwpn[1] == 'n')
{
cs_set_user_deaths(victima, -1 /*Fix bug +1 de esta muerte :P*/);
set_user_frags(victima, 0);
client_print(id, print_center, "MATASE A UN BOLUDO CON FAKA Y LE SACASTE SU SCORE.");
}
}
___________________________________
SI NECESITAS UN PLUGIN TE LO HAGO $$$
COMUNICATE A MI DISCORD: emanuelitop15