Raised This Month: $ Target: $400
 0% 

Double XP for VIP players (OCIXCROMS XP for ZE)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
StickBarosanu
Junior Member
Join Date: Aug 2020
Old 12-19-2021 , 08:35   Double XP for VIP players (OCIXCROMS XP for ZE)
Reply With Quote #1

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)
	}
}
StickBarosanu is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode