Approved Antidote

Zombies/Humans Extra-Items
User avatar
Jack GamePlay
Mod Developer
Mod Developer
Egypt
Posts: 577
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 47 times
Age: 19
Contact:

Re: Antidote

#11

Post by Jack GamePlay » 1 Year Ago

Spir0x wrote:
1 Year Ago
Where bro. i see it on extra menu 3. Antidote when i'm human. and when i'm as zombie i see only madness i dont see anti dote.
Try to change this

Code: Select all

// Player not owner ?
  if (get_user_flags(id) & VIP_ACCESS)
    return ZE_ITEM_DONT_SHOW
to this

Code: Select all

// Player not owner ?
  if (!(get_user_flags(id) & VIP_ACCESS))
    return ZE_ITEM_DONT_SHOW
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:

#12

Post by Spir0x » 1 Year Ago

ok. this code miss some optimizations. when i set this plugin active all items on the Extra-items menu will be transparent like i have no escape coins and i cant buy anything only antidote from all the extra items. and when i use it nightvision still working. thanks
I trynna make money, not friends.

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

#13

Post by Jack GamePlay » 1 Year Ago

Found the problem!
Edit this:

Code: Select all

if (itemid != g_iAntidote)
    return ZE_ITEM_UNAVAILABLE
To this:

Code: Select all

if (itemid != g_iAntidote)
    return ZE_ITEM_AVAILABLE
Not interested in CS/Pawn anymore.
Accepting web projects.

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

#14

Post by Jack GamePlay » 1 Year Ago

*BUMB*
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:

#15

Post by Spir0x » 1 Year Ago

Ok, it's too late now i'll test it tomorrow and what about fixing nightvision when using antidote.
I trynna make money, not friends.

Rain1153
Senior Member
Senior Member
India
Posts: 277
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 18
Contact:

#16

Post by Rain1153 » 1 Year Ago

:lol:
LOL

Rain1153
Senior Member
Senior Member
India
Posts: 277
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 18
Contact:

#17

Post by Rain1153 » 1 Year Ago

Well you can off it when u were zombie by pressing N ( in a simple term)
LOL

Rain1153
Senior Member
Senior Member
India
Posts: 277
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 18
Contact:

#18

Post by Rain1153 » 1 Year Ago

And just take the antidote you'll be fine
LOL

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:

#19

Post by Spir0x » 1 Year Ago

And why ? you just need to fix and update your plugin.
I trynna make money, not friends.

User avatar
DarkZombie
Member
Member
Hungary
Posts: 69
Joined: 1 Year Ago
Has thanked: 16 times
Been thanked: 0
Contact:

#20

Post by DarkZombie » 9 Months Ago

During the game's preparation period, if someone uses it then the game will be buggy. That someone fix it?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest