Ir al contenido
  • Crear una cuenta

[APORTE] Rangos por Niveles


Posts recomendados

Publicado

Hola otra ves les traigo un nuevo plugin lo hise recien en 1 minuto jajaja bueno ahi va :)

/* Plugin generated by AMXX-Studio */#include <amxmodx>#include <ColorChat>#include <hamsandwich>#define PLUGIN "Rangos Por Niveles"#define VERSION "0.1"#define AUTHOR "Hard Scripter"#define prefix "[ nGamers.net ]"#define next_level(%1) (%1 * 15 * %1)new const rangos[][] ={	"Noob",	"Manco",	"Hard",	"Harding",	"Haded",	"Hardegins",	"La Jeta Hard"}new const rangos_lvls[] ={	1,	10,	25,	45,	68,	90,	120}new hard_rangos[33], g_level[33], g_exp[33]	public plugin_init() {	register_plugin(PLUGIN, VERSION, AUTHOR)		RegisterHam(Ham_Killed, "player", "fw_player_killed")}public fw_player_killed(victim, attacker){	if( (get_user_team(victim) == get_user_team(attacker)) || !is_user_connected( attacker ))		return ; 			g_exp[attacker] += 100	check_level(attacker)	check_rango(attacker)}public check_rango(id){	static nombre[32]	get_user_name(id, nombre, 31) 	while (g_level[id] >= rangos_lvls[hard_rangos[id]])	{		hard_rangos[id]++		ColorChat(0, GREEN, "%s ^1El Pibe ^3%s^1 Subio al Rango %s", prefix, nombre, rangos[hard_rangos[id]])	}}public check_level(id){	static nombre[32]	get_user_name(id, nombre, 31) 	while (g_exp[id] >= next_level(g_level[id]))	{		g_exp[id] = 0		g_level[id]++		ColorChat(0, GREEN, "%s ^1El Pibe ^3%s^1 Subio al Nivel %d", prefix, nombre, g_level[id])	}}

algun error que vean diganmelo :P

  • Respuestas 8
  • Creado
  • Última respuesta

Top posteadores en este tema

  • GoldScript

    5

  • Im Author

    4

Publicado

bueno tenes que quejarte de todo si queres lo hago en demo tanto te vas a quejar si no te gusta lo que hago no comentes

Publicado

Eso no fue una queja, que flasheas?

 

Y no es que no me gustó, sino que lo unico que vi es mi sist. de rangos... algun problema?

Publicado

no ves tu sist de rangos ves mi sistema de rangos pibe entendelo nunca vi tus rangos en ningun lado

Invitado
Este tema se encuentra cerrado a nuevas respuestas.
  • Navegando Recientemente   0 miembros

    • No hay usuarios registrados viendo esta página

×
×
  • Crear nuevo...