Make Extra-Item for VIPs Only

Helping Topics
User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#11

Post by Night Fury » 6 years ago

sam_bhosale4, It's only example.
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#12

Post by Raheem » 6 years ago

As jack said sam, It's just example and anyway you can set the bpammo just by add this line:
He who fails to plan is planning to fail

User avatar
sam_bhosale4
Mod Tester
Mod Tester
India
Posts: 109
Joined: 7 years ago
Location: INDIA
Contact:

#13

Post by sam_bhosale4 » 6 years ago

Raheem wrote: 6 years ago As jack said sam, It's just example and anyway you can set the bpammo just by add this line:
Oh! Ok thanks raheem!
-=SeRious-GaminG|Zombie Escape[Alien vs. Predator]|Asia=-
206.189.132.169:40000
Image

johnnysins2000
Veteran Member
Veteran Member
Paraguay
Posts: 678
Joined: 7 years ago
Location: Paraguay
Contact:

#14

Post by johnnysins2000 » 6 years ago

it is time to update this tutorial raheem :P

oo and btw i always get error

whenever i use this

ze_get_vip_flags(id) & VIP_A :/

here is the error

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(5) : error 021: symbol already defined: "ze_colored_print"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(86) : error 021: symbol already defined: "GetAlivePlayersNum"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(98) : error 021: symbol already defined: "GetAllAlivePlayersNum"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(110) : error 021: symbol already defined: "GetAllPlayersNum"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(122) : error 021: symbol already defined: "RequiredZombies"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(135) : error 021: symbol already defined: "GetRandomAlive"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(151) : error 021: symbol already defined: "Set_MapLightStyle"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(160) : error 021: symbol already defined: "Set_NightVision"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(174) : error 021: symbol already defined: "Set_Knockback"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(201) : error 021: symbol already defined: "UpdateFrags"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(232) : error 021: symbol already defined: "SendDeathMsg"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(243) : error 021: symbol already defined: "InfectionIcon"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(256) : error 021: symbol already defined: "FixDeadAttrib"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(265) : error 021: symbol already defined: "Set_KeyValue"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(276) : error 021: symbol already defined: "Precache_Sky"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(306) : error 021: symbol already defined: "AddCommas"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(337) : error 021: symbol already defined: "register_menu"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(343) : error 021: symbol already defined: "PlaySound"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(370) : error 021: symbol already defined: "StopSound"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(377) : error 021: symbol already defined: "Set_Rendering"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(391) : error 021: symbol already defined: "Set_Rendering_Float"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(400) : error 021: symbol already defined: "VecMulScalar"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape_stocks.inc(408) : error 021: symbol already defined: "Show_Given_BPAmmo"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape.inc(48) : error 021: symbol already defined: "ze_is_user_zombie"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape.inc(49) : error 021: symbol already defined: "ze_set_user_zombie"
E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\include\zombie_escape.inc(50) : error 021: symbol already defined: "ze_set_user_human"

Compilation aborted.
26 Errors.
Could not locate output file E:\My old windows 8 things\amxmodx\AMX Mod X\amxxstudio\ZE_SMA\ze_extra_lycanthrope.amx (compile failed).


and same is with amxmodx 1.8.3 compiler :P

so what is the solution?
Nobody Is That Busy If They Make Time :roll:

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#15

Post by Raheem » 6 years ago

I'll update it later but for now your problem is simply that you need to know that when you include this:
  • #include <ze_vip>
It means you have included these things:
  • Code: Select all

    #include <zombie_escape>
    #include <ze_multijump>
    #include <ze_parachute>
Ok and to know that #include <zombie_escape> means you included these:
  • Code: Select all

    #include <amxmodx>
    #include <fakemeta>
    #include <hamsandwich>
    #include <dhudmessage>
    #include <engine>
    #include <fun>
    #include <reapi>
    #include <fvault>
    #include <zombie_escape_stocks>
Soon in the new version of our mod some fixes will be done regards including.

So now you only need to include ze_vip only and nothing more. Not to repeat a include or compiler will tell you it's already defined that's it simply.
He who fails to plan is planning to fail

johnnysins2000
Veteran Member
Veteran Member
Paraguay
Posts: 678
Joined: 7 years ago
Location: Paraguay
Contact:

#16

Post by johnnysins2000 » 6 years ago

Yes now I got it bro

I saw how jack did it

Only include ze_vip

To make Something of VIP
Nobody Is That Busy If They Make Time :roll:

johnnysins2000
Veteran Member
Veteran Member
Paraguay
Posts: 678
Joined: 7 years ago
Location: Paraguay
Contact:

#17

Post by johnnysins2000 » 6 years ago

This Tutorial needs to be updated Devs !
Nobody Is That Busy If They Make Time :roll:

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#18

Post by Raheem » 5 years ago

Updated.
He who fails to plan is planning to fail

snitch
Member
Member
Turkey
Posts: 24
Joined: 4 years ago
Contact:

#19

Post by snitch » 4 years ago

L 10/13/2019 - 01:29:52: Info (map "ze_jurassicpark4") (file "addons/amxmodx/logs/error_20191013.log")
L 10/13/2019 - 01:29:52: Called dynanative into a paused plugin.
L 10/13/2019 - 01:29:52: [AMXX] Displaying debug trace (plugin "VIP_ExtraItems.amxx", version "1.0")
L 10/13/2019 - 01:29:52: [AMXX] Run time error 10: native error (native "ze_set_item_vip")
L 10/13/2019 - 01:29:52: [AMXX] [0] VIP_ExtraItems.sma::plugin_init (line 13)
i should comppiler this code? how can i make Extra items to vip flag?

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#20

Post by Night Fury » 4 years ago

Paste your code.
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

snitch
Member
Member
Turkey
Posts: 24
Joined: 4 years ago
Contact:

#21

Post by snitch » 4 years ago

Mohamed Alaa wrote: 4 years ago Paste your code.
i think i solved the issue, i just upload the code of thread but i think is example was.

if i will try again ill post again.

Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 6 guests