Cerere plugin vip

Descarcari de pluginuri si discutii despre acestea.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
CataFan21
Membru nou
Membru nou
Posts: 2
Joined: 24 Mar 2021, 02:54
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0

08 Apr 2021, 17:51

Buna ziua prieteni.
Am nevoie de un plugin pentru vip la un addons zm 6.2

Cei ce sunt mai bine cunoscatori in domeniu, cam asa am avut inainte caracteristici ale vip-ului :

//----------------------------------
// CSBD VIP System v1.0 configurations file
// Author: Hellfire
//----------------------------------
// The changes will take effect only after server mapchange/restart!

vip_jumps 4 // How many jumps can vip do in air.
vip_armor 100 // How much armour vips gets every spawn. [0-off]
vip_health 1000 // How much health vips gets every spawn. [0-off]
vip_damage 1.5 // How much damage vips can deal. [1.0 - off]

Eu nu mai reusesc da dau de vechiul autor dupa ce am fost nevoit sa imi schimb hostul la server, pierzand vip-ul care era configurat pe vechiul ip.
Va rog daca doreste cineva sa imi ofere putin efort si amabilitate i-as fi recunoscator.
Multumesc.
User avatar
j a h k 0-
Membru, skill +4
Membru, skill +4
Posts: 1536
Joined: 26 Jan 2016, 10:24
Detinator Steam: Da
CS Status: segmentation fault
SteamID: /ID/jkhalibu
Reputatie: Utilizator neserios
Restrictie moderator [permanent]
Membru Club eXtreamCS (3 luni)
Nume anterior: Jah#
Fond eXtream: 0
Location: Chişinău, Republic Of Moldova
Has thanked: 75 times
Been thanked: 13 times
Contact:

23 Jun 2021, 20:01

Nu cred ca iti face cineva pe gratis :)
Tranzactii efectuate cu succes.
| Afiseaza codul
anunturi/vand-cont-rockstar-gta-15euro- ... 49363.html
anunturi/vand-cont-rockstar-gta-euro-paypal-t349373.html
anunturi/cumpar-tema-ipb-t349335.html
anunturi/recomandare-utilizatori-pentru-tranzactii-t323814-60.html
anunturi/recomandare-utilizatori-pentru-tranzactii-t323814-72.html
post2692853.html#p2692853
anunturi/addons-furien-classic-cyby-t348802.html
Image
| Afiseaza codul
Image
Image
User avatar
Sorinel
Fost moderator
Fost moderator
Posts: 4994
Joined: 25 Aug 2014, 20:31
Detinator Steam: Da
CS Status: who dares wins
SteamID: Jandarmeria
Reputatie: Fost Membru Club eXtreamCS ( o luna )
Fost eXtream Mod
Fost Intermediar
Nume anterior: Christmas, A k c 3 n 7
Fond eXtream: 0
Location: Ploiesti
Been thanked: 16 times

23 Jun 2021, 21:55

Code: Select all

#include < amxmodx >
#include < fun >
#include < cstrike >
#include < engine >
#include < hamsandwich >
#include < zombieplague >

#define ZMVIP_FLAG ADMIN_LEVEL_H
#define ZMVIP_DMG 1.5

new cvar_jump, jumpnum[33];
new bool: dojump[33];

public plugin_init() {
	
	RegisterHam(Ham_Spawn, "player", "fwHamPlayerSpawnPost", 1);
	
	cvar_jump = register_cvar("vip_jump", "4"); 
}

public fwHamPlayerSpawnPost(id) {
	
	if(zp_get_user_zombie(id) && zp_get_user_nemesis(id) && zp_get_user_assassin(id) && zp_get_user_sniper(id) && zp_get_user_survivor(id))
		return;
	
	if(is_user_alive(id)) {
		
		set_user_health(id, 1000);
		cs_set_user_armor(id, 100, CS_ARMOR_VESTHELM);
	}
}

public player_damage(victim, ent, attacker, Float:damage, bits) {
	
	if(get_user_flags(attacker) & ZMVIP_FLAG) {
		
		if(!is_user_connected(victim) || !is_user_connected(attacker) || victim == attacker)
			return HAM_IGNORED;
		
		if(zp_get_user_zombie(attacker) && zp_get_user_nemesis(attacker) && zp_get_user_assassin(attacker) && zp_get_user_sniper(attacker) && zp_get_user_survivor(attacker))
			return HAM_IGNORED;
		
		SetHamParamFloat(4, damage * ZMVIP_DMG)
	}    
	return HAM_OVERRIDE;
}  

public client_PreThink(id)
{
	if(zp_get_user_zombie(id) && zp_get_user_nemesis(id) && zp_get_user_assassin(id) && zp_get_user_sniper(id) && zp_get_user_survivor(id))
		return;
	
	if(is_user_alive(id)) {
		
		new BUTON = get_user_button(id)
		new OLDBUTON = get_user_oldbutton(id)
		new JUMP_VIP = get_pcvar_num(cvar_jump) 
		
		if((BUTON & IN_JUMP) && !(get_entity_flags(id) & FL_ONGROUND) && !(OLDBUTON & IN_JUMP))
		{
			if(((get_user_flags(id) & ZMVIP_FLAG) && (jumpnum[id] < JUMP_VIP)))
			{
				dojump[id] = true
				jumpnum[id]++
			}
		}
		
		if((BUTON & IN_JUMP) && (get_entity_flags(id) & FL_ONGROUND))
		{
			jumpnum[id] = 0
		}
	}
}

public client_PostThink(id) 
{
	if(is_user_alive(id)) {
		
		if(dojump[id] == true)
		{
			new Float: velocity[3]  
			entity_get_vector(id, EV_VEC_velocity, velocity)
			velocity[2] = random_float(265.0, 285.0)
			entity_set_vector(id, EV_VEC_velocity, velocity)
			dojump[id] = false
		}
	}
}
XMAS EVERYDAY
Post Reply

Return to “Pluginuri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests