It is currently 27 May 2018 22:54






Reply to topic  [ 8 posts ] 
 problema flag vip 
Author Message
Membru, skill 0
Membru, skill 0

Joined: 14 Feb 2018 16:56
Posts: 96
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
salut vreo idee cum as putea da vip free pe server cu asemenea flag?.
Code:
;A - armura

;H - viata

;S - VIP in tabelul de scoruri

;M - model vip

;J - multijump

;R - raze de vazut prin perete

;D - damage amplificat

;C - incarcator infinit

"name" "pw" "AHSMJRDC"


16 May 2018 05:13
Profile multumesc WWW
Moderator ajutator
Moderator ajutator
User avatar

Joined: 10 May 2013 14:25
Posts: 2794
Location: Gura Humorului, Suceava
Detinator Steam: Nu
Reputatie: Moderator ajutator
Fost scripter eXtreamCS
Fond eXtream: 0
Mutat in categoria corespunzatoare

_________________
„Peste douăzeci de ani vei fi dezamăgit din cauza lucrurilor pe care nu le-ai făcut, nu din cauza celor pe care le-ai făcut.” - Mark Twain
„Asa e si in viata, hotii castiga, prostii care invata pierd.” - Mihai Nemeș

Pluginurile mele publice | Afiseaza codul
Control HE Damage(s)
[Zombie mod] Liderul oamenilor
NO RUSH (MANUAL)
Salvatorul Craciunului
Harry Potter's Magic Wand [0.0.3]
New HE Grenade Effects
Upgrades Menu -> Health/Armor/Damage

Serverele care au achizitonat pluginurile mele: #1 #2

CONTACT: sef_yontu@yahoo.com | skype: cyp_yontu
Creez pluginuri contra cost! PM ME!

[AMXX] LEVEL MOD PUBLIC [In faza de testare]


16 May 2018 12:24
Profile multumesc YIM WWW
Jan Darmu'
Jan Darmu'
User avatar

Joined: 25 Aug 2014 21:31
Posts: 5598
Location: Ploiesti
Detinator Steam: Da
CS Status: Sunt de nota 10 da' n-am timp
SteamID: Jandarmeria
Reputatie: Fost Membru Club eXtreamCS ( o luna )
Fost Moderator ajutator
Fost Super Moderator
eXtream Mod
Intermediar
Nume anterior : Christmas,
A k c 3 n 7
Fond eXtream: 0
read_flags

_________________
ImageImage

Lista intermediari
Nu ezita sa ma contactezi la 112 pentru interventii speciale: S.I.A.S
REGULI GENERALE
REGULILE SECTIUNII ANUNTURI


16 May 2018 13:20
Profile multumesc
Membru, skill 0
Membru, skill 0

Joined: 14 Feb 2018 16:56
Posts: 96
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Sorinel wrote:
read_flags

la Ce te referi?...


16 May 2018 13:54
Profile multumesc WWW
Jan Darmu'
Jan Darmu'
User avatar

Joined: 25 Aug 2014 21:31
Posts: 5598
Location: Ploiesti
Detinator Steam: Da
CS Status: Sunt de nota 10 da' n-am timp
SteamID: Jandarmeria
Reputatie: Fost Membru Club eXtreamCS ( o luna )
Fost Moderator ajutator
Fost Super Moderator
eXtream Mod
Intermediar
Nume anterior : Christmas,
A k c 3 n 7
Fond eXtream: 0
ceva de genu
Code:

public PlyerSpawn(id) {

       if(!(is_user_alive(id)))
               return

       if(get_user_flags(id) == read_flags( "s")))
       {
              give_item(id, "weapon_hegrenade")
       }
       else
       {
              if(get_user_flags(id) == read_flags( "h")))

               give_item(id, "weapon_flashbang")     
       }

_________________
ImageImage

Lista intermediari
Nu ezita sa ma contactezi la 112 pentru interventii speciale: S.I.A.S
REGULI GENERALE
REGULILE SECTIUNII ANUNTURI


16 May 2018 13:58
Profile multumesc
Membru, skill 0
Membru, skill 0

Joined: 14 Feb 2018 16:56
Posts: 96
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
pai poti sa mi-l faci tu daca vrei te rog frumos?.


16 May 2018 14:53
Profile multumesc WWW
Jan Darmu'
Jan Darmu'
User avatar

Joined: 25 Aug 2014 21:31
Posts: 5598
Location: Ploiesti
Detinator Steam: Da
CS Status: Sunt de nota 10 da' n-am timp
SteamID: Jandarmeria
Reputatie: Fost Membru Club eXtreamCS ( o luna )
Fost Moderator ajutator
Fost Super Moderator
eXtream Mod
Intermediar
Nume anterior : Christmas,
A k c 3 n 7
Fond eXtream: 0
Gata
| Afiseaza codul
#include < amxmodx >
#include < cstrike >
#include < engine >
#include < fakemeta >
#include < hamsandwich >

/* Copyright 2018 © eXtreamcs Team */

/* Ca sa va mai inveselesc :)) https://www.youtube.com/watch?v=PnAjpNqCby8 */

new const vip_model_t[] = "vip_model_t"
new const vip_model_ct[] = "vip_model_ct"

new WEAPON_MAXAMMO[33]= {-2, 52, 0, 90, 1, 32, 1, 100, 90, 1, 120, 100, 100, 90, 90, 90, 100, 120, 30, 120, 200, 32, 90, 120, 90, 2, 35, 90, 90, 0, 100, -1, -1}

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

#define PLUGIN "Custom Vip"
#define VERSION "1.0"
#define AUTHOR "Sorinel"

#define VIP_HEALTH 50
#define VIP_ARMOR 100
#define VIP_BONUS_DMG 1.0

#define ARMOR read_flags( "a" )
#define HEALTH read_flags( "h" )
#define VIP_SCOREBOARD read_flags( "s" )
#define VIP_MODEL read_flags( "m" )
#define MULTI_JUMP read_flags( "j" )
#define DAMAGE_AMPLIFIED read_flags( "d" )
#define UNLIMITED_CHARGER read_flags( "c" )

enum {
SCOREATTRIB_ARG_PLAYERID = 1,
SCOREATTRIB_ARG_FLAGS
}

enum ( <<= 1 ) {
SCOREATTRIB_FLAG_NONE = 0,
SCOREATTRIB_FLAG_DEAD = 1,
SCOREATTRIB_FLAG_BOMB,
SCOREATTRIB_FLAG_VIP
}

public plugin_init() {

register_plugin( PLUGIN, VERSION, AUTHOR)

RegisterHam( Ham_Spawn, "player", "PlayerSpawn", 1 )
RegisterHam(Ham_TakeDamage, "player", "player_damage")

register_message( get_user_msgid( "ScoreAttrib" ), "MessageScoreAttrib")
register_event("CurWeapon", "CheckWeapon", "be", "1=1")
cvar_jump = register_cvar("vip_jump", "1")
}

public plugin_precache() {

new ModelOrSoundPath[128]

formatex( ModelOrSoundPath, sizeof ( ModelOrSoundPath ) -1, "models/player/%s/%s.mdl", vip_model_t, vip_model_t)
engfunc( EngFunc_PrecacheModel, ModelOrSoundPath)

formatex( ModelOrSoundPath, sizeof ( ModelOrSoundPath ) -1, "models/player/%s/%s.mdl", vip_model_ct, vip_model_ct)
engfunc( EngFunc_PrecacheModel, ModelOrSoundPath)
}

public MessageScoreAttrib(iMsgId, iDest, iReceiver) {

new iPlayer = get_msg_arg_int(SCOREATTRIB_ARG_PLAYERID)

if(get_user_flags(iPlayer) & VIP_SCOREBOARD)
set_msg_arg_int(SCOREATTRIB_ARG_FLAGS, ARG_BYTE, SCOREATTRIB_FLAG_VIP)
}

public CheckWeapon(id) {

new weaponID = read_data(2)

if( is_user_alive(id) && get_user_flags(id) & UNLIMITED_CHARGER )
{
cs_set_user_bpammo(id, weaponID, WEAPON_MAXAMMO[weaponID])
}
}

public PlayerSpawn(id) {

if(!(is_user_alive(id)))
return

if(get_user_flags(id) & ARMOR)
{
fm_set_user_armor(id, get_user_armor(id) + VIP_ARMOR)
}

if(get_user_flags(id) & HEALTH ) {

fm_set_user_health(id, get_user_health(id) + VIP_HEALTH)
}

if(get_user_flags(id) & VIP_MODEL) {


switch(cs_get_user_team(id))
{
case CS_TEAM_T: cs_set_user_model( id, vip_model_t)
case CS_TEAM_CT: cs_set_user_model( id, vip_model_ct)
}
}
}

public player_damage(victim, ent, attacker, Float:damage, bits) {

if(get_user_flags(attacker) & DAMAGE_AMPLIFIED) {

if(!is_user_connected(victim))
return HAM_IGNORED
if(!is_user_connected(attacker))
return HAM_IGNORED
if(victim == attacker)
return HAM_IGNORED

SetHamParamFloat(4, damage * VIP_BONUS_DMG)
}
return HAM_OVERRIDE
}

public client_PreThink(id)
{
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) & MULTI_JUMP) && (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
}
}
}

/* Fakemeta Util */

stock fm_set_user_health(index, health) {
health > 0 ? set_pev(index, pev_health, float(health)) : dllfunc(DLLFunc_ClientKill, index)

return 1
}

stock fm_set_user_armor( index, armor ) {
set_pev(index, pev_armorvalue, float(armor));

return 1;
}

_________________
ImageImage

Lista intermediari
Nu ezita sa ma contactezi la 112 pentru interventii speciale: S.I.A.S
REGULI GENERALE
REGULILE SECTIUNII ANUNTURI


17 May 2018 15:34
Profile multumesc
Membru, skill 0
Membru, skill 0

Joined: 14 Feb 2018 16:56
Posts: 96
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Sorinele tati nu poti sa-i pui anumite ore?.

sa inceapa la o anumita ora si sa se termine la alta ora deoare ce nu vreau sa dau vip free non-stop
mersi frumos.


17 May 2018 18:53
Profile multumesc WWW
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  

În cazul în care aveți probleme cu contul trimiteți un email sau mesaj la servicii_extream[arond]yahoo[punct]com

Powered by phpBB® Forum Software © phpBB Group