I have some problem about this code in the plugin.
I need to change "ForcePlayerSuicide()" to be the event attacker who killed who died.
Thank you for every answer me
Credit : This plugin is
Franc1sco
PHP Code:
public Action:ByeZM(Handle:timer, any:client)
{
if (IsClientInGame(client) && IsPlayerAlive(client) && ZR_IsClientZombie(client) && g_ZombieExplode[client])
{
g_ZombieExplode[client] = false;
new Float:iVec[ 3 ];
GetClientAbsOrigin( client, Float:iVec );
TE_SetupExplosion( iVec, g_ExplosionSprite, 5.0, 1, 0, 50, 40, iNormal );
TE_SendToAll();
TE_SetupSmoke( iVec, g_SmokeSprite, 10.0, 3 );
TE_SendToAll();
EmitAmbientSound( EXPLODE_SOUND, iVec, client, SNDLEVEL_NORMAL );
ForcePlayerSuicide(client);
}
}