Approved VIP System

Gameplay Addons
User avatar
Jack GamePlay
Mod Developer
Mod Developer
Egypt
Posts: 581
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

Re: VIP System

#41

Post by Jack GamePlay » 2 Years Ago

Spir0x wrote:
2 Years Ago
Raheem if you can update vip system and i have idea actually not new :V
so u update this and when round starts server give m249 automatically to vip's wish u understand it.
Forget it.
Not interested in CS/Pawn anymore.
Accepting web projects.

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1951
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 21
Contact:

#42

Post by Raheem » 2 Years Ago

Here it's:
    1. #include <ze_vip>
    2.  
    3. public plugin_init()
    4. {
    5.     register_plugin("Give M249 for VIP", "1.0", "Raheem")
    6.    
    7.     RegisterHookChain(RG_CBasePlayer_Spawn, "Fw_PlayerSpawn_Post", 1)
    8. }
    9.  
    10. public Fw_PlayerSpawn_Post(id)
    11. {
    12.     if (!is_user_alive(id) || !(ze_get_vip_flags(id) & VIP_A) || ze_is_user_zombie(id))
    13.         return HC_CONTINUE
    14.    
    15.     rg_give_item(id, "weapon_m249", GT_APPEND)
    16.     rg_set_user_bpammo(id, WeaponIdType:get_weaponid("weapon_m249"), 200)
    17.    
    18.     return HC_CONTINUE
    19. }
Last edited by Raheem on 14 Jul 2017, 10:56, edited 1 time in total.
Reason: Check if user zombie or not.
You don't know? Learn and you will know.

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 633
Joined: 2 Years Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 7 times
Age: 19
Contact:

#43

Post by Spir0x » 2 Years Ago

@Jack GamePlay what's your probleme ?
I trynna make money, not friends.

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 633
Joined: 2 Years Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 7 times
Age: 19
Contact:

#44

Post by Spir0x » 2 Years Ago

Raheem xD when i'm infected to zombie i have m249 and i can infect humans with gun
I trynna make money, not friends.

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1951
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 21
Contact:

#45

Post by Raheem » 2 Years Ago

Spir0x wrote:
2 Years Ago
Raheem xD when i'm infected to zombie i have m249 and i can infect humans with gun
Fixed see the code now.
These users thanked the author Raheem for the post:
Spir0x (2 Years Ago)
You don't know? Learn and you will know.

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 633
Joined: 2 Years Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 7 times
Age: 19
Contact:

#46

Post by Spir0x » 2 Years Ago

thanks.
I trynna make money, not friends.

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 633
Joined: 2 Years Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 7 times
Age: 19
Contact:

#47

Post by Spir0x » 2 Years Ago

raheem can you put models into this m249 ? and give automatic m249 and deagle.
I trynna make money, not friends.

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 633
Joined: 2 Years Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 7 times
Age: 19
Contact:

#48

Post by Spir0x » 2 Years Ago

Raheem i think in next update you need to put 2x fire nades & 2 frost nades for VIP.
I trynna make money, not friends.

User avatar
Jack GamePlay
Mod Developer
Mod Developer
Egypt
Posts: 581
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

#49

Post by Jack GamePlay » 2 Years Ago

Raheem wrote:
2 Years Ago
Spir0x wrote:
2 Years Ago
Raheem xD when i'm infected to zombie i have m249 and i can infect humans with gun
Fixed see the code now.
Use "ze_user_humanized" better.
Not interested in CS/Pawn anymore.
Accepting web projects.

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 633
Joined: 2 Years Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 7 times
Age: 19
Contact:

#50

Post by Spir0x » 2 Years Ago

Jack what's this ? ••• Offline a year due to studying. ••• xD remove it you cant stay 1hour without opening this forum
I trynna make money, not friends.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest