Raised This Month: $51 Target: $400
 12% 

[REQUEST] Plugin VIP for Furien


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Alankizziixx
Member
Join Date: Jun 2019
Old 06-19-2019 , 18:58   [REQUEST] Plugin VIP for Furien
Reply With Quote #1

I want one plugin with
Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <ColorChat>
#include <fakemeta>
#include <hamsandwich>

#define PLUGIN "[Furien] V.I.P"
#define VERSION "1.0"
#define AUTHOR "SkepT Jr."

#define VIP_FLAG ADMIN_LEVEL_H
native fcs_get_user_credits ( id );
native fcs_set_user_credits ( id, amount );
static const COLOR[] = "^x04"; // Green for display VIP
#pragma semicolon 1

public plugin_init ( ) {
	
	register_plugin ( PLUGIN, VERSION, AUTHOR );
	register_clcmd ( "say /wantvip", "motd" );
	register_clcmd ( "say /vips", "vip_who" );
	register_message ( get_user_msgid ( "ScoreAttrib" ),"vip_tabscore");
	RegisterHam ( Ham_Spawn, "player", "fwPlayerSpawn", true );
	
	// Add your code here..
}

public motd ( id ) 
	show_motd ( id, "/addons/amxmodx/configs/vip.html" );

//Code by .....
public vip_who(user) {
	new adminnames[33][32];
	new message[256];
	new id, count, x, len;
	
	for(id = 1 ; id <= get_maxplayers() ; id++)
		if(is_user_connected(id))
		if(get_user_flags(id) & VIP_FLAG)
		get_user_name(id, adminnames[count++], 31);
	
	len = format(message, 255, "%sMembri VIP online: ",COLOR);
	if(count > 0) {
		for(x = 0 ; x < count ; x++) {
			len += format(message[len], 255-len, "%s%s ", adminnames[x], x < (count-1) ? ", ":"");
			if(len > 96) {
				print_message(user, message);
				len = format(message, 255, "%s ",COLOR);
			}
		}
		print_message(user, message);
	}
	else {
		len += format(message[len], 255-len, "Nu sunt membri VIP online.");
		print_message(user, message);
	}
}

print_message(id, msg[]) {
	message_begin(MSG_ONE, get_user_msgid("SayText"), {0,0,0}, id);
	write_byte(id);
	write_string(msg);
	message_end();
}

//Code by je
public vip_tabscore ( const MsgId, const MsgType, const MsgDest ) {
	
	static id;
	id = get_msg_arg_int ( 1 );
	if ( get_user_flags ( id ) & VIP_FLAG )
	set_msg_arg_int ( 2, ARG_BYTE, ( 1 << 2 ) );
	
}

public fwPlayerSpawn ( id ) {
	
	if( is_user_alive ( id ) && get_user_flags ( id ) & VIP_FLAG ) {
	
		set_pev ( id, pev_health, 150.0 );
		set_pev ( id, pev_armorvalue, 150.0 );	
		fcs_set_user_credits ( id, fcs_get_user_credits ( id ) + 5 );
		ColorChat ( id, GREEN, "[V.I.P] -^3 Ai primit 5 credite si 150 HP + 150 AP pentru ca esti V.I.P ." );
		
	}
	
}
and skin Furien : vip_t , skin Antifurien : vip_ct , when kill receive 15 HP and headshot 30 HP , i want ONE plugin with all , only for vips , FLAG VIP T
Alankizziixx is offline
BesTKiLLeR
Junior Member
Join Date: Jun 2019
Location: 127.0.0.1
Old 06-20-2019 , 03:37   Re: [REQUEST] Plugin VIP for Furien
Reply With Quote #2

Please describe your request completely.
BesTKiLLeR is offline
Alankizziixx
Member
Join Date: Jun 2019
Old 06-20-2019 , 06:03   Re: [REQUEST] Plugin VIP for Furien
Reply With Quote #3

I want you to add me to that plugin, when the vip gets a kill to receive 15 HP and when he headshot gets 30HP, and I can put the skin to vip from a folder of / models / player / vip_t --- -Skin for the rage
/ models / player / vip_ct ------ Skin for anti-furien
I have new_models plugin but not working

Please help me
Alankizziixx is offline
Alankizziixx
Member
Join Date: Jun 2019
Old 06-20-2019 , 16:58   Re: [REQUEST] Plugin VIP for Furien
Reply With Quote #4

Please, I really need it ......
Alankizziixx is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-20-2019 , 17:08   Re: [REQUEST] Plugin VIP for Furien
Reply With Quote #5

Bumping every thread like an annoyance won't help you. The threads were already first in the section, so what's the point of bumping?! If somebody wants to help, he will do it without you reminding him. Also, if you tried searching, you would have found these basic plugins until now.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Alankizziixx
Member
Join Date: Jun 2019
Old 06-22-2019 , 14:25   Re: [REQUEST] Plugin VIP for Furien
Reply With Quote #6

Leave them skin and the other plug-in. If you've got it all, it would be helpful for you to help with editing this sma, so I want only vipers to receive 15 HP on kill and 30 on headshot instead this plugin goes for everyone, vip flag T
This is sma.
Quote:
/* CVars
* amx_vampire_hp - HP add for kill
* amx_vampire_hp_hs - HP add for kill in head
* amx_vampire_max_hp - max player hp
*
* Players gets HP for kills.
*/
#include <amxmodx>
#include <fun>

#define PLUGIN_VERSION "3.0"

new health_add
new health_hs_add
new health_max
new nKiller
new nKiller_hp
new nHp_add
new nHp_max

#define VIP FLAG ADMIN_LEVEL_H

public plugin_init()
{
register_plugin("Vampire", PLUGIN_VERSION, "Shalfey")

health_add = register_cvar("amx_vampire_hp", "15")
health_hs_add = register_cvar("amx_vampire_hp_hs", "30")
health_max = register_cvar("amx_vampire_max_hp", "250")

register_event("DeathMsg", "hook_death", "a", "1>0")
}

public hook_death()
{
// Killer id
nKiller = read_data(1)

if ( (read_data(3) == 1) && (read_data(5) == 0) )
{
nHp_add = get_pcvar_num (health_hs_add)
}
else
nHp_add = get_pcvar_num (health_add)

nHp_max = get_pcvar_num (health_max)

// Updating Killer HP
nKiller_hp = get_user_health(nKiller)
nKiller_hp += nHp_add

// Maximum HP check
if (nKiller_hp > nHp_max) nKiller_hp = nHp_max

set_user_health(nKiller, nKiller_hp)

// Hud message "Healed +15/+30 hp"
set_hudmessage(0, 255, 0, -1.0, 0.15, 0, 1.0, 1.0, 0.1, 0.1, -1)
show_hudmessage(nKiller, "Healed +%d hp", nHp_add)

// Screen fading
message_begin(MSG_ONE, get_user_msgid("ScreenFade"), {0,0,0}, nKiller)
write_short(1<<10)
write_short(1<<10)
write_short(0x0000)
write_byte(0)
write_byte(0)
write_byte(200)
write_byte(75)
message_end()

}
sorry for using quote , but is not code in up ))
Alankizziixx is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-22-2019 , 16:44   Re: [REQUEST] Plugin VIP for Furien
Reply With Quote #7

[cоde]your code here[/code]
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Alankizziixx
Member
Join Date: Jun 2019
Old 06-23-2019 , 04:36   Re: [REQUEST] Plugin VIP for Furien
Reply With Quote #8

Who can help me?
Alankizziixx is offline
Alankizziixx
Member
Join Date: Jun 2019
Old 06-24-2019 , 08:39   Re: [REQUEST] Plugin VIP for Furien
Reply With Quote #9

We found this site if it helps
I would do but I do not understand
https://amxx.pl/vipgenerator
Alankizziixx is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-24-2019 , 09:34   Re: [REQUEST] Plugin VIP for Furien
Reply With Quote #10

It's 2019. There are webpage translators all over the place.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode