It is currently 24 Feb 2019 04:05



Forum rules


Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .



Reply to topic  [ 9 posts ] 
 Cerere Plugin VIP 
Author Message
Membru, skill 0
Membru, skill 0

Joined: 26 Jan 2019 06:17
Posts: 5
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Plugin Cerut: VIP
Descriere (adica ce face el mai exact): As dori la acest plugin prin comanda /vips sa arate VIP-ii online. Iar prin comanda /vip sa arate preturile, ca modific eu acolo.
As dori ca Beneficiile la acest plugin sa fie urmatoarele:
- Skin VIP.
- Incepi runda cu 100 HP / 100 AP .
- Primesti 10 HP pe kill si 15 HP pe HS.
- Primesti setul de arme & pistoale de aici: https://imgur.com/a/Tr2YtQ7 si cele restrictionate 4, 5, 6.
- Apari in TAB VIP.
- Primesti set grenazi.
- Double Jump.
- Poti vedea Chat-ul adminilor.
- Bullet Damage.
- Slot rezervat.
Serverul ruleaza (HLDS/ReHLDS): REHLDS
Versiune AMX Mod X: 1.8.3
Modul Serverului: Classic

Va multumesc!


Last edited by Rainq on 26 Jan 2019 16:16, edited 2 times in total.

Editat dupa model



26 Jan 2019 06:34
Profile multumesc WWW
Scripter eXtreamCS
Scripter eXtreamCS
User avatar

Joined: 24 Aug 2011 11:24
Posts: 1964
Location: |<()|)
Detinator Steam: Da
CS Status: HLDS Builder
Detinator server CS: liber de contract
SteamID: riseofevo
Reputatie: Scripter eXtreamCS
Nume anterior: Adryyy
Fond eXtream: 0
http://www.girlshare.ro/33112241.8
https://fioriginal.ro/forum/topic/26732 ... ginalamxx/
cereri-pluginuri/vrei-plugin-vip-aici-t357061.html


26 Jan 2019 15:20
Profile multumesc ICQ YIM
Membru, skill 0
Membru, skill 0

Joined: 26 Jan 2019 06:17
Posts: 5
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Adryyy wrote:
http://www.girlshare.ro/33112241.8
https://fioriginal.ro/forum/topic/26732 ... ginalamxx/
cereri-pluginuri/vrei-plugin-vip-aici-t357061.html


Multumesc pentru ajutor dar deja am probat si nu este pe gustul meu, nu arata nici setul de arme macar.
As vrea ceva personalizat exact asa cum scrie in cerinte. Ofer recompensa celui care il face.


26 Jan 2019 15:38
Profile multumesc WWW
Membru, skill 0
Membru, skill 0

Joined: 26 Jan 2019 06:17
Posts: 5
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
UP!


27 Jan 2019 13:09
Profile multumesc WWW
Membru, skill +1
Membru, skill +1

Joined: 02 Jan 2017 03:01
Posts: 219
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Detinator server CS: DA
SteamID: NU
Fond eXtream: 0
YONUT NU SE MAI OCUPA ? CE CREEAT PLUGINURI VIP ?

_________________
Image


27 Jan 2019 22:53
Profile multumesc WWW
Online
Moderator
Moderator
User avatar

Joined: 21 Jul 2015 18:50
Posts: 2573
Location: Bucuresti
Detinator Steam: Da
CS Status: Busy
Detinator server CS: ---
Reputatie: Moderator
Manager ZM
Fost Membru Club eXtreamCS (trei luni)
1 / 3
Fond eXtream: 0
floringold01 wrote:
YONUT NU SE MAI OCUPA ? CE CREEAT PLUGINURI VIP ?

nu se mai ocupa,nu are timpul necesar.

_________________
connect ZM.eXtreamCS.COM # OFFICIAL SERVER
connect 213.32.98.75:27015
Leul si tigru sunt mai puternici ca lupul,dar lupul la circ nu participa.
Image


27 Jan 2019 23:39
Profile multumesc WWW
Scripter eXtreamCS
Scripter eXtreamCS
User avatar

Joined: 24 Aug 2011 11:24
Posts: 1964
Location: |<()|)
Detinator Steam: Da
CS Status: HLDS Builder
Detinator server CS: liber de contract
SteamID: riseofevo
Reputatie: Scripter eXtreamCS
Nume anterior: Adryyy
Fond eXtream: 0
| Afiseaza codul
Code:
#include <amxmodx>
#include <cstrike>
#include <fun>
#include <hamsandwich>
#include <fakemeta_util>
#include <engine>

#pragma tabsize 0

#define VIP_FLAGS "bit"
#define is_user_vip(%0)   (get_user_flags(%0)&read_flags(VIP_FLAGS))

#define SKIN_VIP "models/player/skinvip/skinvip.mdl"

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

new jumpznum[33] = 0,bool:dozjump[33] = false



#define Keysrod (1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<9)

static const COLOR[] = "^x04" //green

new maxplayers
new gmsgSayText
new g_type, g_hudmsg
new health_add
new health_hs_add
new health_max
new nKiller
new nKiller_hp
new nHp_add
new nHp_max

public plugin_init()
{
   register_plugin("VIP", "3.0", "Hasky")
   
   health_add = register_cvar("vip_hp_kill", "10")
   health_hs_add = register_cvar("vip_hp_hs", "15")
   health_max = register_cvar("vip_hp_max", "100")
   
   g_type = register_cvar("vip_bulletdamage","1")
   
   register_clcmd("say /vip","ShowMotd")
   register_clcmd("say_team /vip","ShowMotd")
   
   maxplayers = get_maxplayers()
   gmsgSayText = get_user_msgid("SayText")
   
   g_hudmsg = CreateHudSyncObj()
   
   register_clcmd("say", "handle_say")
   register_clcmd("say_team", "handle_say")
   
   register_event("TextMsg","Event_RoundRestart","a","2&#Game_w")
   register_event("DeathMsg", "hook_death", "a", "1>0")
   register_event("Damage", "on_damage", "b", "2!0", "3=0", "4!0")
   register_event("HLTV", "event_new_round", "a", "1=0", "2=0")
   
   register_menucmd(register_menuid("rod"), Keysrod, "Pressedrod")
   
   
   
   register_message(get_user_msgid( "ScoreAttrib" ), "MessageScoreAttrib")
   
   RegisterHam(Ham_Spawn, "player", "PlayerSpawn", 1 )
   RegisterHam(Ham_TakeDamage, "player", "player_damage",1)
   
   register_cvar("vip_jumps","1")
   
   register_forward( FM_SetClientKeyValue, "fw_SetClientKeyValue" )
}


public plugin_precache()   precache_model(SKIN_VIP)

public client_putinserver(id)
{
   jumpznum[id] = 0
   dozjump[id] = false
}
public client_disconnect(id)
{
   jumpznum[id] = 0
   dozjump[id] = false
}

public MessageScoreAttrib(iMsgId, iDest, iReceiver)
{
   new iPlayer = get_msg_arg_int(SCOREATTRIB_ARG_PLAYERID)
   
   if(is_user_alive(iPlayer)&&is_user_vip(iPlayer))   set_msg_arg_int(SCOREATTRIB_ARG_FLAGS, ARG_BYTE, SCOREATTRIB_FLAG_VIP)
}

public client_PreThink(id)
{
   if(!is_user_alive(id) || !is_user_vip(id))   return PLUGIN_CONTINUE
   
   new nzbut = get_user_button(id),ozbut = get_user_oldbutton(id)

   if((nzbut & IN_JUMP) && !(get_entity_flags(id) & FL_ONGROUND) && !(ozbut & IN_JUMP))
   {
      if (jumpznum[id] < get_cvar_num("vip_jumps"))
      {
         dozjump[id] = true
         jumpznum[id]++

         return PLUGIN_CONTINUE
      }
   }
   if((nzbut & IN_JUMP) && (get_entity_flags(id) & FL_ONGROUND))
   {
      jumpznum[id] = 0

      return PLUGIN_CONTINUE
   }
   return PLUGIN_CONTINUE
}
public client_PostThink(id)
{
    if(!is_user_alive(id)||!is_user_vip(id))   return PLUGIN_CONTINUE

    if(dozjump[id] == true)
    {
        new Float:vezlocityz[3]   
        entity_get_vector(id,EV_VEC_velocity,vezlocityz)
        vezlocityz[2] = random_float(265.0,285.0)
        entity_set_vector(id,EV_VEC_velocity,vezlocityz)
        dozjump[id] = false
        return PLUGIN_CONTINUE
    }   
    return PLUGIN_CONTINUE
}

public PlayerSpawn(id)
{
   if(is_user_alive(id)&&is_user_vip(id))
   {
      set_user_armor(id,100)
         give_item(id, "weapon_hegrenade");
         give_item(id, "weapon_flashbang");
         give_item(id, "weapon_flashbang");
         give_item(id, "weapon_smokegrenade");
         Showrod(id)
   }
}

public fw_SetClientKeyValue( const id, const infobuffer[ ], const key[ ], const value[] ) {
    if( equal( key, "model" )&&is_user_connected(id)&&is_user_vip(id) ) {
   set_user_info( id, "model", SKIN_VIP )
   return FMRES_SUPERCEDE
    }
    return FMRES_IGNORED
}

public player_damage(victim, inflictor, attacker, Float:damage, bits)
{
   if(is_user_alive(attacker)&&is_user_vip(attacker))   SetHamParamFloat(4, damage * 2.0)

   return HAM_HANDLED;
}


public on_damage(id)
{
   if(get_pcvar_num(g_type))
   {
      static attacker; attacker = get_user_attacker(id)
      static damage; damage = read_data(2)   

      if(is_user_vip(attacker))   
      {
         if(is_user_connected(attacker))
         {
            if(fm_is_ent_visible(attacker,id))
            {
               set_hudmessage(0, 100, 200, -1.0, 0.55, 2, 0.1, 4.0, 0.02, 0.02, -1)
               ShowSyncHudMsg(attacker, g_hudmsg, "%i^n", damage)            
            }
         }
      }
   }
}


public hook_death()
{
   // Killer id
   nKiller = read_data(1)
   
   if(!is_user_alive(nKiller))   return
   
   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
   if(!is_user_vip(nKiller))   return;

   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()
}

public Showrod(id)   show_menu(id, Keysrod, "\yGuns Menu^n\w1. M4a1+HE^n\w2. AK47+HE^n\w3. Famas+HE^n\w4. AWP+HE^n\w5. G3SG1+HE^n\w6. SG552+HE^n^n\w0.\y Exit", -1, "rod")
public Pressedrod(id, key)
{
   switch (key) {
      case 0: {
         give_item(id,"weapon_m4a1")
         give_item(id,"weapon_hegrenade")
         cs_set_user_bpammo(id, CSW_M4A1, 90 );
      }
      case 1: {
         give_item(id,"weapon_ak47")
         give_item(id,"weapon_hegrenade")
         cs_set_user_bpammo(id, CSW_AK47, 90 );
      }
      case 2: {
         give_item(id,"weapon_famas")
         give_item(id,"weapon_hegrenade")
         cs_set_user_bpammo(id, CSW_FAMAS, 90 );
      }
      case 3: {
         give_item(id,"weapon_awp")
         give_item(id,"weapon_hegrenade")
         cs_set_user_bpammo(id, CSW_AWP, 30 );
      }
      case 4: {
         give_item(id,"weapon_g3sg1")
         give_item(id,"weapon_hegrenade")
         cs_set_user_bpammo(id, CSW_G3SG1, 90 );
      }
      case 5: {
         give_item(id,"weapon_sg552")
         give_item(id,"weapon_hegrenade")
         cs_set_user_bpammo(id, CSW_SG552, 90 );
      }
   }
   return PLUGIN_CONTINUE
}


public ShowMotd(id)   show_motd(id, "/addons/amxmodx/configs/vip.txt","INFO VIP")
public handle_say(id) {
   new said[192]
   read_args(said,192)
   if( contain(said, "/vips") != -1 )   print_adminlist(id)
   return PLUGIN_CONTINUE
}
public print_adminlist(user)
{
   new adminnames[33][32],message[256],id, count, x, len
   
   for(id = 1 ; id <= maxplayers ; id++)   if(is_user_connected(id))   if(is_user_vip(id))   get_user_name(id, adminnames[count++], 31)

   len = format(message, 255, "%s 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, "No VIP online.")
      print_message(user, message)
   }
}
print_message(id, msg[]) {
   message_begin(MSG_ONE, gmsgSayText, {0,0,0}, id)
   write_byte(id)
   write_string(msg)
   message_end()
}


28 Jan 2019 01:17
Profile multumesc ICQ YIM
Membru, skill 0
Membru, skill 0

Joined: 26 Jan 2019 06:17
Posts: 5
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
UP inca n-am rezolvat!


01 Feb 2019 06:54
Profile multumesc WWW
Scripter eXtreamCS
Scripter eXtreamCS
User avatar

Joined: 24 Aug 2011 11:24
Posts: 1964
Location: |<()|)
Detinator Steam: Da
CS Status: HLDS Builder
Detinator server CS: liber de contract
SteamID: riseofevo
Reputatie: Scripter eXtreamCS
Nume anterior: Adryyy
Fond eXtream: 0
ce n ai rezolvat omule!?


01 Feb 2019 11:00
Profile multumesc ICQ YIM
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 50 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