Hi! I got this plugin from another forum i think is ocixcrom forum, and i want to make it to give double xp for vip players when they escape and win the round..if someone can help me i would be glad. Thank you!! The plugin is the made for ZE mod by Raheem. Ocixcrom knows bcs he made this plugin.
Code:
#include <amxmodx>
#include <crxranks>
#include <zombie_escape>
public plugin_init()
{
register_plugin("CRXRanks: Zombie Escape", "1.0", "OciXCrom")
}
public ze_roundend(iWinTeam)
{
if(iWinTeam == ZE_TEAM_HUMAN)
{
new iPlayers[32], iPnum
get_players(iPlayers, iPnum, "ae", "CT")
for(new i; i < iPnum; i++)
{
crxranks_give_user_xp(iPlayers[i], _, "ze_humans_escape", CRXRANKS_XPS_REWARD)
}
}
}
public ze_user_infected(iVictim, iInfector)
{
if(is_user_connected(iInfector))
{
crxranks_give_user_xp(iInfector, _, "ze_user_infected", CRXRANKS_XPS_REWARD)
}
}