How to make a define ze_get_level like ze_get_escape_coins?
How to make a define ze_get_level like ze_get_escape_coins?
Hello all developers,
I'm using latest release of this mod ( not full pack HLDS ) and there is no ze_level_system in it.
So i decide to try to edit one with your help guys, I see in ze_hud_info to get coins value something called "ze_get_escape_coins" to show it on hud. I'm trying to use this fixed of level system for this mod from here http://escapers-zone.net/viewtopic.php?f=15&t=2048, but this plugin not show HUD level so i decide to add it in ze_hud_info.
as i said before in "ze_hud_info.sma" there is something called "ze_get_escape_coins" to get player coins, so now i need to define "ze_get_level" on it anyone have idea to do that?
And thanks in advance.
I'm using latest release of this mod ( not full pack HLDS ) and there is no ze_level_system in it.
So i decide to try to edit one with your help guys, I see in ze_hud_info to get coins value something called "ze_get_escape_coins" to show it on hud. I'm trying to use this fixed of level system for this mod from here http://escapers-zone.net/viewtopic.php?f=15&t=2048, but this plugin not show HUD level so i decide to add it in ze_hud_info.
as i said before in "ze_hud_info.sma" there is something called "ze_get_escape_coins" to get player coins, so now i need to define "ze_get_level" on it anyone have idea to do that?
And thanks in advance.
Last edited by Obada 6 years ago, edited 1 time in total.
What i need is to call values of those:
from ze_level to ze_hud_info.
So i can then use in ze_hud_info normally.
Code: Select all
// Variables
new g_iLevel[33], g_iXP[33],
Float:g_fDamage[33],
g_MsgSync
So i can then use
Code: Select all
g_iLevel(ID_SHOWHUD)
Done guys,
my reference is here:
https://forums.alliedmods.net/showthrea ... 51?t=41251
I defined the native in include files.
my reference is here:
https://forums.alliedmods.net/showthrea ... 51?t=41251
I defined the native in include files.
Right, And you can define them in the plugin you need to use them in also. OK as i understand try to do this: http://escapers-zone.net/viewtopic.php?f=15&t=2048 in original Levels System. What i tells you is that in fact there is no much difference between the two. And if you still speak about losing coins/xp problem so i said many times that the problem not related to saving/loading it's related to resetting variable that contain players xp/coins.. For no reason so till now i don't find solution but i'll try find it next few days.
He who fails to plan is planning to fail
I wasn't talking about losing levels/xp, i just used that plugin from this guy, and i was need to show levels and xp on ze_hud_info not more, and it solved via adding natives.
And for this request, i putt this request here because i really need to learn how to scrippting in amxmodx i love to do that to know how to customize my server, and big thanks for you again bro. YOU'RE PRO in this.
And for this request, i putt this request here because i really need to learn how to scrippting in amxmodx i love to do that to know how to customize my server, and big thanks for you again bro. YOU'RE PRO in this.
You are welcome brother.
He who fails to plan is planning to fail
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: Bing [Bot] and 4 guests