User
Pass
2FA
 
 

VIP System [ 1.0 ]

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Resources
Author Message1041
r3p

[Mentally Stable]



Status: Offline
(since 06-09-2013 11:53)
Joined: 24 Jul 2013
Posts: 10, Topics: 3
Location: Romania

Reputation: 33.4
Votes: 1

Post Posted: 24-07-2013, 09:31:34 | Translate post to: ... (Click for more languages)

Descriere: daca esti vip (admin_immunity) primesti 250 HP , 250 armor , m4a1 ( la ct ) , ak47 ( la T )
Cvar : sv_vip 1/0
Info : Autor : r3p , Versiune : 1.0 , Plugin : Vip System
Download : Vyp System.amxx
Sursa :

Code:
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <fun>
#include <cstrike>



new pCvar;

public plugin_init()
{
   register_plugin("VIP System","1.0","r3p")
   RegisterHam(Ham_Spawn,"player","player_spawn")
   pCvar = register_cvar("sv_vip", "1")
}

public player_spawn(id)
{
   if ( get_pcvar_num( pCvar ) )
   {
   if(is_user_admin(id) &&  get_user_flags(id) & ADMIN_IMMUNITY)
   {
   if(is_user_alive(id))
                {
                if( get_user_team( id ) == 1 )
                {

            give_item(id, "weapon_ak47")
            cs_set_user_bpammo( id, CSW_AK47, 90 );
            set_user_health(id, 250)
            set_user_armor(id, 250)
            cs_set_user_money(id, 16000)
   
   
   }else if ( get_user_team( id ) == 2 )
   
    {


   give_item(id, "weapon_m4a1")
   cs_set_user_bpammo( id, CSW_M4A1, 90 );
   set_user_health(id, 250)
   set_user_armor(id, 250)
   cs_set_user_money(id, 16000)
       }
      }   
    }
  }
}



Last edited by r3p on 24-07-2013, 12:04:31; edited 1 time in total
0 0
  
Back to top
View user's profile Send private message
D4mage

[Gum!Tz@]



Status: Offline
(since 08-06-2015 16:55)
Joined: 06 Apr 2013
Posts: 1324, Topics: 32
Location: Romania

Reputation: 238.5
Votes: 20

 
Post Posted: 24-07-2013, 11:58:43 | Translate post to: ... (Click for more languages)

hmm Thinking mi se pare ca la acest plugin trb sa adaugi flags mi se pare ca era "ba" nu mai tin minte -


0 0
  
Back to top
View user's profile Send private message
r3p

[Mentally Stable]



Status: Offline
(since 06-09-2013 11:53)
Joined: 24 Jul 2013
Posts: 10, Topics: 3
Location: Romania

Reputation: 33.4
Votes: 1

Post Posted: 24-07-2013, 12:05:10 | Translate post to: ... (Click for more languages)

D4mage wrote:
hmm Thinking mi se pare ca la acest plugin trb sa adaugi flags mi se pare ca era "ba" nu mai tin minte -


ce flags vorbesti tu acolo ?

pentur vip iti trebuie > immunity ( flagul A )

0 0
  
Back to top
View user's profile Send private message
D4mage

[Gum!Tz@]



Status: Offline
(since 08-06-2015 16:55)
Joined: 06 Apr 2013
Posts: 1324, Topics: 32
Location: Romania

Reputation: 238.5
Votes: 20

 
Post Posted: 24-07-2013, 12:06:56 | Translate post to: ... (Click for more languages)

poi do dar stiu cv de genul ca am avut si la mn pe serv si a trebuit flags


0 0
  
Back to top
View user's profile Send private message
r3p

[Mentally Stable]



Status: Offline
(since 06-09-2013 11:53)
Joined: 24 Jul 2013
Posts: 10, Topics: 3
Location: Romania

Reputation: 33.4
Votes: 1

Post Posted: 24-07-2013, 13:51:01 | Translate post to: ... (Click for more languages)

Code:
 if(is_user_admin(id) &&  get_user_flags(id) & ADMIN_IMMUNITY)
   {
   if(is_user_alive(id))
                {
                if( get_user_team( id ) == 1 )
                {



Nu mai vorbi fara sa citesti ...

0 0
  
Back to top
View user's profile Send private message
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Resources  


The time now is 07-08-2025, 19:41:15
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password