Errors after Reapi update
-
- Veteran Member
- Posts: 594
- Joined: 5 Years Ago
- Has thanked: 20 times
- Been thanked: 14 times
- Contact:
Errors after Reapi update
@Raheem
@Night Fury
Can you fix these problems? Its not only in coins plugin. What is this? I updated Reapi module. We cant use the newest reapi and new regamedll also
L 09/27/2021 - 22:09:17: [ReAPI] get_member_s: 'm_iTeam' has no refs to the base class of an entity 'worldspawn'
L 09/27/2021 - 22:09:17: [AMXX] Run time error 10 (plugin "ze_coins_system.amxx") (native "get_member_s") - debug not enabled!
L 09/27/2021 - 22:09:17: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 09/27/2021 - 22:11:58: [ReAPI] get_member_s: 'm_iTeam' has no refs to the base class of an entity 'worldspawn'
@Night Fury
Can you fix these problems? Its not only in coins plugin. What is this? I updated Reapi module. We cant use the newest reapi and new regamedll also
L 09/27/2021 - 22:09:17: [ReAPI] get_member_s: 'm_iTeam' has no refs to the base class of an entity 'worldspawn'
L 09/27/2021 - 22:09:17: [AMXX] Run time error 10 (plugin "ze_coins_system.amxx") (native "get_member_s") - debug not enabled!
L 09/27/2021 - 22:09:17: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 09/27/2021 - 22:11:58: [ReAPI] get_member_s: 'm_iTeam' has no refs to the base class of an entity 'worldspawn'
- These users thanked the author czirimbolo for the post:
- Z0uha1r_LK (8 Months Ago)
- Z0uha1r_LK
- Moderator
- Posts: 385
- Joined: 3 Years Ago
- Location: Morocco
- Has thanked: 121 times
- Been thanked: 41 times
- Age: 20
- Contact:
I have a same error.
I need to fix it in ze_coins_system.sma
Add debug in plugins-ze.ini
I need to fix it in ze_coins_system.sma
Add debug in plugins-ze.ini
My blog:
http://z0uha1r.blogspot.com/
http://z0uha1r.blogspot.com/
z0h1r-LK
- wbyokomo
- VIP
- Posts: 13
- Joined: 11 Months Ago
- Location: Malaysia
- Has thanked: 0
- Been thanked: 7 times
- Contact:
This should fix the issue.Z0uha1r_LK wrote: ↑8 Months AgoI have a same error.
I need to fix it in ze_coins_system.sma
Add debug in plugins-ze.ini
Code: Select all
public Fw_TakeDamage_Post(iVictim, iInflictor, iAttacker, Float:fDamage, bitsDamageType)
{
// Player Damage Himself
if (iVictim == iAttacker) return;
// iAttacker Not Connected
if (!is_user_connected(iAttacker)) return;
// Attacker is Zombie
//if (get_member(iAttacker, m_iTeam) == TEAM_TERRORIST) return HC_CONTINUE;
new bool:bIsZombie = ze_is_user_zombie(iAttacker) ? true : false;
if (bIsZombie) return;
// Friendly-fire
//if (get_member(iAttacker, m_iTeam) == get_member(iVictim, m_iTeam)) return HC_CONTINUE;
if (ze_is_user_zombie(iVictim) == bIsZombie) return;
// Store Damage For every Player
g_flDamage[iAttacker] += fDamage
// Damage Calculator Equal or Higher than needed damage
while (g_flDamage[iAttacker] >= get_pcvar_float(g_pCvarDamage))
{
g_iEscapeCoins[iAttacker] += (get_pcvar_num(g_pCvarDamageCoins))
g_flDamage[iAttacker] -= get_pcvar_float(g_pCvarDamage)
}
SaveCoins(iAttacker)
}
- These users thanked the author wbyokomo for the post (total 2):
- Z0uha1r_LK (8 Months Ago) • Raheem (8 Months Ago)
YOkOmO Zombie Escape X

Zombie Plague

MultiMod


Zombie Plague

MultiMod

- Z0uha1r_LK
- Moderator
- Posts: 385
- Joined: 3 Years Ago
- Location: Morocco
- Has thanked: 121 times
- Been thanked: 41 times
- Age: 20
- Contact:
Bro this is better:
- if (get_user_team(iVictim) == get_user_team(iAttacker)) return;
My blog:
http://z0uha1r.blogspot.com/
http://z0uha1r.blogspot.com/
z0h1r-LK
- wbyokomo
- VIP
- Posts: 13
- Joined: 11 Months Ago
- Location: Malaysia
- Has thanked: 0
- Been thanked: 7 times
- Contact:
This mod already has it own native to detect team "ze_get_user_zombie(id)". I believe this is the best solution to detect team in this mod.Z0uha1r_LK wrote: ↑8 Months AgoBro this is better:
if (get_user_team(iVictim) == get_user_team(iAttacker)) return;
You can use ze_get_user_zombie(id) or get_member(id, m_iTeam). Just don't use get_user_team(id), AFAIK this native has many issue on Amxmodx.
- These users thanked the author wbyokomo for the post (total 2):
- Z0uha1r_LK (8 Months Ago) • SobekPogrywamy (8 Months Ago)
YOkOmO Zombie Escape X

Zombie Plague

MultiMod


Zombie Plague

MultiMod

- Z0uha1r_LK
- Moderator
- Posts: 385
- Joined: 3 Years Ago
- Location: Morocco
- Has thanked: 121 times
- Been thanked: 41 times
- Age: 20
- Contact:
- Z0uha1r_LK
- Moderator
- Posts: 385
- Joined: 3 Years Ago
- Location: Morocco
- Has thanked: 121 times
- Been thanked: 41 times
- Age: 20
- Contact:
Wait, There no different between
MaxClients
and get_member_game(m_nMaxPlayers)
My blog:
http://z0uha1r.blogspot.com/
http://z0uha1r.blogspot.com/
z0h1r-LK
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 1 guest