Make Extra-Item for VIPs Only
- Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
- Contact:
sam_bhosale4, It's only example.
As jack said sam, It's just example and anyway you can set the bpammo just by add this line:
- rg_set_user_bpammo(id, WeaponIdType:get_weaponid("weapon_ak47"), 90)
He who fails to plan is planning to fail
- sam_bhosale4
- Mod Tester
- Posts: 109
- Joined: 7 years ago
- Location: INDIA
- Contact:
-
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
- Contact:
it is time to update this tutorial raheem
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
so what is the solution?
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
so what is the solution?
Nobody Is That Busy If They Make Time
I'll update it later but for now your problem is simply that you need to know that when you include this:
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.
#include <ze_vip>
Code: Select all
#include <zombie_escape> #include <ze_multijump> #include <ze_parachute>
#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>
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
-
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
- Contact:
Yes now I got it bro
I saw how jack did it
Only include ze_vip
To make Something of VIP
I saw how jack did it
Only include ze_vip
To make Something of VIP
Nobody Is That Busy If They Make Time
-
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
- Contact:
This Tutorial needs to be updated Devs !
Nobody Is That Busy If They Make Time
i should comppiler this code? how can i make Extra items to vip flag?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)
- Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
- Contact:
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.
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
Sign in
Who is online
Users browsing this forum: No registered users and 6 guests