Approved Antidote

Zombies/Humans Extra-Items
User avatar
Jack GamePlay
Mod Developer
Mod Developer
Egypt
Posts: 532
Joined: 1 Year Ago
Location: Egypt
Has thanked: 31 times
Been thanked: 42 times
Age: 19
Contact:

Re: Antidote

#11

Post by Jack GamePlay » 6 Months Ago

Spir0x wrote:
6 Months 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
Image

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 565
Joined: 1 Year Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 6 times
Age: 19
Contact:

#12

Post by Spir0x » 6 Months 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

User avatar
Jack GamePlay
Mod Developer
Mod Developer
Egypt
Posts: 532
Joined: 1 Year Ago
Location: Egypt
Has thanked: 31 times
Been thanked: 42 times
Age: 19
Contact:

#13

Post by Jack GamePlay » 6 Months 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
Image

User avatar
Jack GamePlay
Mod Developer
Mod Developer
Egypt
Posts: 532
Joined: 1 Year Ago
Location: Egypt
Has thanked: 31 times
Been thanked: 42 times
Age: 19
Contact:

#14

Post by Jack GamePlay » 6 Months Ago

*BUMB*
Image

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 565
Joined: 1 Year Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 6 times
Age: 19
Contact:

#15

Post by Spir0x » 6 Months Ago

Ok, it's too late now i'll test it tomorrow and what about fixing nightvision when using antidote.

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

#16

Post by Rain1153 » 6 Months Ago

:lol:
LOL

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

#17

Post by Rain1153 » 6 Months 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: 275
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 18
Contact:

#18

Post by Rain1153 » 6 Months Ago

And just take the antidote you'll be fine
LOL

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 565
Joined: 1 Year Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 6 times
Age: 19
Contact:

#19

Post by Spir0x » 6 Months Ago

And why ? you just need to fix and update your plugin.

User avatar
DarkZombie
Member
Member
Hungary
Posts: 68
Joined: 5 Months Ago
Donation: 1x donated in total €6.00
Has thanked: 16 times
Been thanked: 0
Contact:

#20

Post by DarkZombie » 2 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