Solved Main Menu

Unpaid Requests, Public Plugins
Post Reply
User avatar
Luxurious
Mod Tester
Mod Tester
Egypt
Posts: 177
Joined: 6 years ago
Location: Egypt
Contact:

Main Menu

#1

Post by Luxurious » 5 years ago

I tried To add Buy Vip in main menu but i got some problem ... Can any one help me pls??!

Code: Select all

#include <zombie_escape>
#include <ze_vip>

// Keys
const OFFSET_CSMENUCODE = 205
const KEYSMENU = MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4|MENU_KEY_5|MENU_KEY_6|MENU_KEY_7|MENU_KEY_8|MENU_KEY_9|MENU_KEY_0

native ze_show_models_menu(id);
native ze_unstuck_player(id);
native ze_open_admin_menu(id);
native ze_open_buy_vip_menu(id);

public plugin_init()
{
	register_plugin("[ZE] Main Menu", ZE_VERSION, AUTHORS)
	
	// Commands
	register_clcmd("chooseteam", "Cmd_ChooseTeam")
	register_clcmd("say /ze", "Cmd_ChooseTeam")
	register_clcmd("say_team /ze", "Cmd_ChooseTeam")
	
	// Register Menus
	register_menu("Main Menu", KEYSMENU, "Main_Menu")
}

public Cmd_ChooseTeam(id)
{
	if (!is_user_connected(id))
		return PLUGIN_CONTINUE;
	
	if (get_member(id, m_iTeam) == TEAM_TERRORIST || get_member(id, m_iTeam) == TEAM_CT)
	{
		Show_Menu_Main(id)
		return PLUGIN_HANDLED // Kill the Choose Team Command
	}
	
	// Player in Spec? Allow him to open choose team menu so he can join
	return PLUGIN_CONTINUE
}

// Main Menu
public Show_Menu_Main(id)
{
	static szMenu[250]
	new iLen
	
	// Title
	iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w%L^n^n", id, "MAIN_MENU_TITLE")
	
	// 1. Buy Weapons
	if (!ze_is_auto_buy_enabled(id)) // AutoBuy not enabled - normal case
	{
		if (is_user_alive(id))
		{
			iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w1.\r %L^n", id, "MENU_WEAPONBUY")
		}
		else
		{
			iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d1. %L^n", id, "MENU_WEAPONBUY")
		}
	}
	else
	{
		// Auto-Buy enabled - Re-enable case
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w1.\r %L^n", id, "MENU_WEAPONBUY_RE_ENABLE")
	}
	
	// 2. Extra Items
	if (is_user_alive(id))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w2.\r %L^n", id, "MENU_EXTRABUY")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d2. %L^n", id, "MENU_EXTRABUY")
	}
	
	// 3. Models menu
	if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_F))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w3. \rModels Menu!^n")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d3. \dModels Menu! [VIP]^n")
	}
	
	// 4. Unstuck
	if (is_user_alive(id))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w4. \rUnstuck!^n")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d4. /rUnstuck!^n")
	}
	
	// 5. Admin Menu
	iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w5. \rAdmin Menu!^n")
	
	
	// 4. Unstuck
	if (is_user_alive(id))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w6. \rBuy V.I.P!^n")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d6. /rBuy V.I.P!^n")
	}
	
	// 0. Exit
	iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "^n^n\w0.\r %L", id, "EXIT")
	
	// Fix for AMXX custom menus
	set_pdata_int(id, OFFSET_CSMENUCODE, 0)
	show_menu(id, KEYSMENU, szMenu, -1, "Main Menu")
}

// Main Menu
public Main_Menu(id, key)
{
	// Player disconnected?
	if (!is_user_connected(id))
		return PLUGIN_HANDLED
	
	switch (key)
	{
		case 0: // Buy Weapons
		{
			if (!ze_is_auto_buy_enabled(id))
			{
				ze_show_weapon_menu(id)
			}
			else
			{
				ze_disable_auto_buy(id)
				Show_Menu_Main(id)
			}
		}
		case 1: // Extra Items
		{
			if (is_user_alive(id))
			{
				ze_show_items_menu(id)
			}
			else
			{
				ze_colored_print(id, "%L", id, "DEAD_CANT_BUY_WEAPON")
			}
		}
		case 2: // Models Menu
		{
			if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_F))
			{
				ze_show_models_menu(id)
			}
		}
		case 3: // Unstuck
		{
			if (is_user_alive(id))
			{
				ze_unstuck_player(id)
			}
		}
		case 4: // Admin Menu
		{
			if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_I))
			{
				ze_open_admin_menu(id)
			}
			
		}
		case 5: // Buy VIP
		{
			if (is_user_alive(id))
			{
                                   ze_open_buy_vip_menu(id);
			}
		}
    }
	return PLUGIN_HANDLED
}
DRK Zombie-Escape V1.6
IP : 81.169.153.129:27015

User avatar
Mark
VIP
VIP
United States of America
Posts: 283
Joined: 5 years ago
Location: Des Moines/USA
Contact:

#2

Post by Mark » 5 years ago

Luxurious wrote: 5 years ago I tried To add Buy Vip in main menu but i got some problem ... Can any one help me pls??!

Code: Select all

#include <zombie_escape>
#include <ze_vip>

// Keys
const OFFSET_CSMENUCODE = 205
const KEYSMENU = MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4|MENU_KEY_5|MENU_KEY_6|MENU_KEY_7|MENU_KEY_8|MENU_KEY_9|MENU_KEY_0

native ze_show_models_menu(id);
native ze_unstuck_player(id);
native ze_open_admin_menu(id);
native ze_open_buy_vip_menu(id);

public plugin_init()
{
	register_plugin("[ZE] Main Menu", ZE_VERSION, AUTHORS)
	
	// Commands
	register_clcmd("chooseteam", "Cmd_ChooseTeam")
	register_clcmd("say /ze", "Cmd_ChooseTeam")
	register_clcmd("say_team /ze", "Cmd_ChooseTeam")
	
	// Register Menus
	register_menu("Main Menu", KEYSMENU, "Main_Menu")
}

public Cmd_ChooseTeam(id)
{
	if (!is_user_connected(id))
		return PLUGIN_CONTINUE;
	
	if (get_member(id, m_iTeam) == TEAM_TERRORIST || get_member(id, m_iTeam) == TEAM_CT)
	{
		Show_Menu_Main(id)
		return PLUGIN_HANDLED // Kill the Choose Team Command
	}
	
	// Player in Spec? Allow him to open choose team menu so he can join
	return PLUGIN_CONTINUE
}

// Main Menu
public Show_Menu_Main(id)
{
	static szMenu[250]
	new iLen
	
	// Title
	iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w%L^n^n", id, "MAIN_MENU_TITLE")
	
	// 1. Buy Weapons
	if (!ze_is_auto_buy_enabled(id)) // AutoBuy not enabled - normal case
	{
		if (is_user_alive(id))
		{
			iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w1.\r %L^n", id, "MENU_WEAPONBUY")
		}
		else
		{
			iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d1. %L^n", id, "MENU_WEAPONBUY")
		}
	}
	else
	{
		// Auto-Buy enabled - Re-enable case
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w1.\r %L^n", id, "MENU_WEAPONBUY_RE_ENABLE")
	}
	
	// 2. Extra Items
	if (is_user_alive(id))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w2.\r %L^n", id, "MENU_EXTRABUY")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d2. %L^n", id, "MENU_EXTRABUY")
	}
	
	// 3. Models menu
	if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_F))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w3. \rModels Menu!^n")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d3. \dModels Menu! [VIP]^n")
	}
	
	// 4. Unstuck
	if (is_user_alive(id))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w4. \rUnstuck!^n")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d4. /rUnstuck!^n")
	}
	
	// 5. Admin Menu
	iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w5. \rAdmin Menu!^n")
	
	
	// 4. Unstuck
	if (is_user_alive(id))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w6. \rBuy V.I.P!^n")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d6. /rBuy V.I.P!^n")
	}
	
	// 0. Exit
	iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "^n^n\w0.\r %L", id, "EXIT")
	
	// Fix for AMXX custom menus
	set_pdata_int(id, OFFSET_CSMENUCODE, 0)
	show_menu(id, KEYSMENU, szMenu, -1, "Main Menu")
}

// Main Menu
public Main_Menu(id, key)
{
	// Player disconnected?
	if (!is_user_connected(id))
		return PLUGIN_HANDLED
	
	switch (key)
	{
		case 0: // Buy Weapons
		{
			if (!ze_is_auto_buy_enabled(id))
			{
				ze_show_weapon_menu(id)
			}
			else
			{
				ze_disable_auto_buy(id)
				Show_Menu_Main(id)
			}
		}
		case 1: // Extra Items
		{
			if (is_user_alive(id))
			{
				ze_show_items_menu(id)
			}
			else
			{
				ze_colored_print(id, "%L", id, "DEAD_CANT_BUY_WEAPON")
			}
		}
		case 2: // Models Menu
		{
			if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_F))
			{
				ze_show_models_menu(id)
			}
		}
		case 3: // Unstuck
		{
			if (is_user_alive(id))
			{
				ze_unstuck_player(id)
			}
		}
		case 4: // Admin Menu
		{
			if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_I))
			{
				ze_open_admin_menu(id)
			}
			
		}
		case 5: // Buy VIP
		{
			if (is_user_alive(id))
			{
                                   ze_open_buy_vip_menu(id);
			}
		}
    }
	return PLUGIN_HANDLED
}
If your native is right this should work.
  1. #include <zombie_escape>
  2. #include <ze_vip>
  3.  
  4. // Keys
  5. const OFFSET_CSMENUCODE = 205
  6. const KEYSMENU = MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4|MENU_KEY_5|MENU_KEY_6|MENU_KEY_7|MENU_KEY_8|MENU_KEY_9|MENU_KEY_0
  7.  
  8. native ze_show_models_menu(id);
  9. native ze_unstuck_player(id);
  10. native ze_open_admin_menu(id);
  11. native ze_open_buy_vip_menu(id);
  12.  
  13. public plugin_init()
  14. {
  15.     register_plugin("[ZE] Main Menu", ZE_VERSION, AUTHORS)
  16.    
  17.     // Commands
  18.     register_clcmd("chooseteam", "Cmd_ChooseTeam")
  19.     register_clcmd("say /ze", "Cmd_ChooseTeam")
  20.     register_clcmd("say_team /ze", "Cmd_ChooseTeam")
  21.    
  22.     // Register Menus
  23.     register_menu("Main Menu", KEYSMENU, "Main_Menu")
  24. }
  25.  
  26. public Cmd_ChooseTeam(id)
  27. {
  28.     if (!is_user_connected(id))
  29.         return PLUGIN_CONTINUE;
  30.    
  31.     if (get_member(id, m_iTeam) == TEAM_TERRORIST || get_member(id, m_iTeam) == TEAM_CT)
  32.     {
  33.         Show_Menu_Main(id)
  34.         return PLUGIN_HANDLED // Kill the Choose Team Command
  35.     }
  36.    
  37.     // Player in Spec? Allow him to open choose team menu so he can join
  38.     return PLUGIN_CONTINUE
  39. }
  40.  
  41. // Main Menu
  42. public Show_Menu_Main(id)
  43. {
  44.     static szMenu[250]
  45.     new iLen
  46.    
  47.     // Title
  48.     iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w%L^n^n", id, "MAIN_MENU_TITLE")
  49.    
  50.     // 1. Buy Weapons
  51.     if (!ze_is_auto_buy_enabled(id)) // AutoBuy not enabled - normal case
  52.     {
  53.         if (is_user_alive(id))
  54.         {
  55.             iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w1.\r %L^n", id, "MENU_WEAPONBUY")
  56.         }
  57.         else
  58.         {
  59.             iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d1. %L^n", id, "MENU_WEAPONBUY")
  60.         }
  61.     }
  62.     else
  63.     {
  64.         // Auto-Buy enabled - Re-enable case
  65.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w1.\r %L^n", id, "MENU_WEAPONBUY_RE_ENABLE")
  66.     }
  67.    
  68.     // 2. Extra Items
  69.     if (is_user_alive(id))
  70.     {
  71.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w2.\r %L^n", id, "MENU_EXTRABUY")
  72.     }
  73.     else
  74.     {
  75.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d2. %L^n", id, "MENU_EXTRABUY")
  76.     }
  77.    
  78.     // 3. Models menu
  79.     if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_F))
  80.     {
  81.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w3. \rModels Menu!^n")
  82.     }
  83.     else
  84.     {
  85.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d3. \dModels Menu! [VIP]^n")
  86.     }
  87.    
  88.     // 4. Unstuck
  89.     if (is_user_alive(id))
  90.     {
  91.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w4. \rUnstuck!^n")
  92.     }
  93.     else
  94.     {
  95.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d4. /rUnstuck!^n")
  96.     }
  97.    
  98.     // 5. Admin Menu
  99.     iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w5. \rAdmin Menu!^n")
  100.    
  101.    
  102.     // 5. Buy VIP
  103.     if (is_user_alive(id))
  104.     {
  105.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w6. \rBuy V.I.P!^n")
  106.     }
  107.     else
  108.     {
  109.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d6. /rBuy V.I.P!^n")
  110.     }
  111.    
  112.     // 0. Exit
  113.     iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "^n^n\w0.\r %L", id, "EXIT")
  114.    
  115.     // Fix for AMXX custom menus
  116.     set_pdata_int(id, OFFSET_CSMENUCODE, 0)
  117.     show_menu(id, KEYSMENU, szMenu, -1, "Main Menu")
  118. }
  119.  
  120. // Main Menu
  121. public Main_Menu(id, key)
  122. {
  123.     // Player disconnected?
  124.     if (!is_user_connected(id))
  125.         return PLUGIN_HANDLED
  126.    
  127.     switch (key)
  128.     {
  129.         case 0: // Buy Weapons
  130.         {
  131.             if (!ze_is_auto_buy_enabled(id))
  132.             {
  133.                 ze_show_weapon_menu(id)
  134.             }
  135.             else
  136.             {
  137.                 ze_disable_auto_buy(id)
  138.                 Show_Menu_Main(id)
  139.             }
  140.         }
  141.         case 1: // Extra Items
  142.         {
  143.             if (is_user_alive(id))
  144.             {
  145.                 ze_show_items_menu(id)
  146.             }
  147.             else
  148.             {
  149.                 ze_colored_print(id, "%L", id, "DEAD_CANT_BUY_WEAPON")
  150.             }
  151.         }
  152.         case 2: // Models Menu
  153.         {
  154.             if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_F))
  155.             {
  156.                 ze_show_models_menu(id)
  157.             }
  158.         }
  159.         case 3: // Unstuck
  160.         {
  161.             if (is_user_alive(id))
  162.             {
  163.                 ze_unstuck_player(id)
  164.             }
  165.         }
  166.         case 4: // Admin Menu
  167.         {
  168.             if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_I))
  169.             {
  170.                 ze_open_admin_menu(id)
  171.             }  
  172.         }
  173.         case 5: // Buy VIP
  174.         {
  175.             if (is_user_alive(id))
  176.             {
  177.                 ze_open_buy_vip_menu(id)
  178.             }
  179.         }
  180.     }
  181.     return PLUGIN_HANDLED
  182. }

User avatar
Luxurious
Mod Tester
Mod Tester
Egypt
Posts: 177
Joined: 6 years ago
Location: Egypt
Contact:

#3

Post by Luxurious » 5 years ago

Mark wrote: 5 years ago
Luxurious wrote: 5 years ago I tried To add Buy Vip in main menu but i got some problem ... Can any one help me pls??!

Code: Select all

#include <zombie_escape>
#include <ze_vip>

// Keys
const OFFSET_CSMENUCODE = 205
const KEYSMENU = MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4|MENU_KEY_5|MENU_KEY_6|MENU_KEY_7|MENU_KEY_8|MENU_KEY_9|MENU_KEY_0

native ze_show_models_menu(id);
native ze_unstuck_player(id);
native ze_open_admin_menu(id);
native ze_open_buy_vip_menu(id);

public plugin_init()
{
	register_plugin("[ZE] Main Menu", ZE_VERSION, AUTHORS)
	
	// Commands
	register_clcmd("chooseteam", "Cmd_ChooseTeam")
	register_clcmd("say /ze", "Cmd_ChooseTeam")
	register_clcmd("say_team /ze", "Cmd_ChooseTeam")
	
	// Register Menus
	register_menu("Main Menu", KEYSMENU, "Main_Menu")
}

public Cmd_ChooseTeam(id)
{
	if (!is_user_connected(id))
		return PLUGIN_CONTINUE;
	
	if (get_member(id, m_iTeam) == TEAM_TERRORIST || get_member(id, m_iTeam) == TEAM_CT)
	{
		Show_Menu_Main(id)
		return PLUGIN_HANDLED // Kill the Choose Team Command
	}
	
	// Player in Spec? Allow him to open choose team menu so he can join
	return PLUGIN_CONTINUE
}

// Main Menu
public Show_Menu_Main(id)
{
	static szMenu[250]
	new iLen
	
	// Title
	iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w%L^n^n", id, "MAIN_MENU_TITLE")
	
	// 1. Buy Weapons
	if (!ze_is_auto_buy_enabled(id)) // AutoBuy not enabled - normal case
	{
		if (is_user_alive(id))
		{
			iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w1.\r %L^n", id, "MENU_WEAPONBUY")
		}
		else
		{
			iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d1. %L^n", id, "MENU_WEAPONBUY")
		}
	}
	else
	{
		// Auto-Buy enabled - Re-enable case
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w1.\r %L^n", id, "MENU_WEAPONBUY_RE_ENABLE")
	}
	
	// 2. Extra Items
	if (is_user_alive(id))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w2.\r %L^n", id, "MENU_EXTRABUY")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d2. %L^n", id, "MENU_EXTRABUY")
	}
	
	// 3. Models menu
	if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_F))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w3. \rModels Menu!^n")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d3. \dModels Menu! [VIP]^n")
	}
	
	// 4. Unstuck
	if (is_user_alive(id))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w4. \rUnstuck!^n")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d4. /rUnstuck!^n")
	}
	
	// 5. Admin Menu
	iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w5. \rAdmin Menu!^n")
	
	
	// 4. Unstuck
	if (is_user_alive(id))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w6. \rBuy V.I.P!^n")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d6. /rBuy V.I.P!^n")
	}
	
	// 0. Exit
	iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "^n^n\w0.\r %L", id, "EXIT")
	
	// Fix for AMXX custom menus
	set_pdata_int(id, OFFSET_CSMENUCODE, 0)
	show_menu(id, KEYSMENU, szMenu, -1, "Main Menu")
}

// Main Menu
public Main_Menu(id, key)
{
	// Player disconnected?
	if (!is_user_connected(id))
		return PLUGIN_HANDLED
	
	switch (key)
	{
		case 0: // Buy Weapons
		{
			if (!ze_is_auto_buy_enabled(id))
			{
				ze_show_weapon_menu(id)
			}
			else
			{
				ze_disable_auto_buy(id)
				Show_Menu_Main(id)
			}
		}
		case 1: // Extra Items
		{
			if (is_user_alive(id))
			{
				ze_show_items_menu(id)
			}
			else
			{
				ze_colored_print(id, "%L", id, "DEAD_CANT_BUY_WEAPON")
			}
		}
		case 2: // Models Menu
		{
			if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_F))
			{
				ze_show_models_menu(id)
			}
		}
		case 3: // Unstuck
		{
			if (is_user_alive(id))
			{
				ze_unstuck_player(id)
			}
		}
		case 4: // Admin Menu
		{
			if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_I))
			{
				ze_open_admin_menu(id)
			}
			
		}
		case 5: // Buy VIP
		{
			if (is_user_alive(id))
			{
                                   ze_open_buy_vip_menu(id);
			}
		}
    }
	return PLUGIN_HANDLED
}
If your native is right this should work.
  1. #include <zombie_escape>
  2. #include <ze_vip>
  3.  
  4. // Keys
  5. const OFFSET_CSMENUCODE = 205
  6. const KEYSMENU = MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4|MENU_KEY_5|MENU_KEY_6|MENU_KEY_7|MENU_KEY_8|MENU_KEY_9|MENU_KEY_0
  7.  
  8. native ze_show_models_menu(id);
  9. native ze_unstuck_player(id);
  10. native ze_open_admin_menu(id);
  11. native ze_open_buy_vip_menu(id);
  12.  
  13. public plugin_init()
  14. {
  15.     register_plugin("[ZE] Main Menu", ZE_VERSION, AUTHORS)
  16.    
  17.     // Commands
  18.     register_clcmd("chooseteam", "Cmd_ChooseTeam")
  19.     register_clcmd("say /ze", "Cmd_ChooseTeam")
  20.     register_clcmd("say_team /ze", "Cmd_ChooseTeam")
  21.    
  22.     // Register Menus
  23.     register_menu("Main Menu", KEYSMENU, "Main_Menu")
  24. }
  25.  
  26. public Cmd_ChooseTeam(id)
  27. {
  28.     if (!is_user_connected(id))
  29.         return PLUGIN_CONTINUE;
  30.    
  31.     if (get_member(id, m_iTeam) == TEAM_TERRORIST || get_member(id, m_iTeam) == TEAM_CT)
  32.     {
  33.         Show_Menu_Main(id)
  34.         return PLUGIN_HANDLED // Kill the Choose Team Command
  35.     }
  36.    
  37.     // Player in Spec? Allow him to open choose team menu so he can join
  38.     return PLUGIN_CONTINUE
  39. }
  40.  
  41. // Main Menu
  42. public Show_Menu_Main(id)
  43. {
  44.     static szMenu[250]
  45.     new iLen
  46.    
  47.     // Title
  48.     iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w%L^n^n", id, "MAIN_MENU_TITLE")
  49.    
  50.     // 1. Buy Weapons
  51.     if (!ze_is_auto_buy_enabled(id)) // AutoBuy not enabled - normal case
  52.     {
  53.         if (is_user_alive(id))
  54.         {
  55.             iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w1.\r %L^n", id, "MENU_WEAPONBUY")
  56.         }
  57.         else
  58.         {
  59.             iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d1. %L^n", id, "MENU_WEAPONBUY")
  60.         }
  61.     }
  62.     else
  63.     {
  64.         // Auto-Buy enabled - Re-enable case
  65.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w1.\r %L^n", id, "MENU_WEAPONBUY_RE_ENABLE")
  66.     }
  67.    
  68.     // 2. Extra Items
  69.     if (is_user_alive(id))
  70.     {
  71.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w2.\r %L^n", id, "MENU_EXTRABUY")
  72.     }
  73.     else
  74.     {
  75.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d2. %L^n", id, "MENU_EXTRABUY")
  76.     }
  77.    
  78.     // 3. Models menu
  79.     if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_F))
  80.     {
  81.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w3. \rModels Menu!^n")
  82.     }
  83.     else
  84.     {
  85.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d3. \dModels Menu! [VIP]^n")
  86.     }
  87.    
  88.     // 4. Unstuck
  89.     if (is_user_alive(id))
  90.     {
  91.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w4. \rUnstuck!^n")
  92.     }
  93.     else
  94.     {
  95.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d4. /rUnstuck!^n")
  96.     }
  97.    
  98.     // 5. Admin Menu
  99.     iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w5. \rAdmin Menu!^n")
  100.    
  101.    
  102.     // 5. Buy VIP
  103.     if (is_user_alive(id))
  104.     {
  105.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w6. \rBuy V.I.P!^n")
  106.     }
  107.     else
  108.     {
  109.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d6. /rBuy V.I.P!^n")
  110.     }
  111.    
  112.     // 0. Exit
  113.     iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "^n^n\w0.\r %L", id, "EXIT")
  114.    
  115.     // Fix for AMXX custom menus
  116.     set_pdata_int(id, OFFSET_CSMENUCODE, 0)
  117.     show_menu(id, KEYSMENU, szMenu, -1, "Main Menu")
  118. }
  119.  
  120. // Main Menu
  121. public Main_Menu(id, key)
  122. {
  123.     // Player disconnected?
  124.     if (!is_user_connected(id))
  125.         return PLUGIN_HANDLED
  126.    
  127.     switch (key)
  128.     {
  129.         case 0: // Buy Weapons
  130.         {
  131.             if (!ze_is_auto_buy_enabled(id))
  132.             {
  133.                 ze_show_weapon_menu(id)
  134.             }
  135.             else
  136.             {
  137.                 ze_disable_auto_buy(id)
  138.                 Show_Menu_Main(id)
  139.             }
  140.         }
  141.         case 1: // Extra Items
  142.         {
  143.             if (is_user_alive(id))
  144.             {
  145.                 ze_show_items_menu(id)
  146.             }
  147.             else
  148.             {
  149.                 ze_colored_print(id, "%L", id, "DEAD_CANT_BUY_WEAPON")
  150.             }
  151.         }
  152.         case 2: // Models Menu
  153.         {
  154.             if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_F))
  155.             {
  156.                 ze_show_models_menu(id)
  157.             }
  158.         }
  159.         case 3: // Unstuck
  160.         {
  161.             if (is_user_alive(id))
  162.             {
  163.                 ze_unstuck_player(id)
  164.             }
  165.         }
  166.         case 4: // Admin Menu
  167.         {
  168.             if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_I))
  169.             {
  170.                 ze_open_admin_menu(id)
  171.             }  
  172.         }
  173.         case 5: // Buy VIP
  174.         {
  175.             if (is_user_alive(id))
  176.             {
  177.                 ze_open_buy_vip_menu(id)
  178.             }
  179.         }
  180.     }
  181.     return PLUGIN_HANDLED
  182. }
Problem>>

Code: Select all

//// ze_main_menu.sma
//
// D:\Games\Funny\Rehlds_publish_3.4.0.641_artifacts\old\Addons\Compiler v1.8.3\scripting\ze_main_menu.sma(5) : error 010: invalid function or declaration
// D:\Games\Funny\Rehlds_publish_3.4.0.641_artifacts\old\Addons\Compiler v1.8.3\scripting\ze_main_menu.sma(117) : error 017: undefined symbol "OFFSET_CSMENUCODE"
// D:\Games\Funny\Rehlds_publish_3.4.0.641_artifacts\old\Addons\Compiler v1.8.3\scripting\ze_main_menu.sma(117) : warning 215: expression has no effect
// D:\Games\Funny\Rehlds_publish_3.4.0.641_artifacts\old\Addons\Compiler v1.8.3\scripting\ze_main_menu.sma(117) : error 001: expected token: ";", but found ")"
// D:\Games\Funny\Rehlds_publish_3.4.0.641_artifacts\old\Addons\Compiler v1.8.3\scripting\ze_main_menu.sma(117) : error 029: invalid expression, assumed zero
// D:\Games\Funny\Rehlds_publish_3.4.0.641_artifacts\old\Addons\Compiler v1.8.3\scripting\ze_main_menu.sma(117) : fatal error 107: too many error messages on one line
//
// Compilation aborted.
// 5 Errors.
// Could not locate output file D:\Games\Funny\Rehlds_publish_3.4.0.641_artifacts\old\Addons\Compiler v1.8.3\scripting\compiled\ze_main_menu.amx (compile failed).
//
DRK Zombie-Escape V1.6
IP : 81.169.153.129:27015

User avatar
Mark
VIP
VIP
United States of America
Posts: 283
Joined: 5 years ago
Location: Des Moines/USA
Contact:

#4

Post by Mark » 5 years ago

Luxurious wrote: 5 years ago
Mark wrote: 5 years ago
Luxurious wrote: 5 years ago I tried To add Buy Vip in main menu but i got some problem ... Can any one help me pls??!

Code: Select all

#include <zombie_escape>
#include <ze_vip>

// Keys
const OFFSET_CSMENUCODE = 205
const KEYSMENU = MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4|MENU_KEY_5|MENU_KEY_6|MENU_KEY_7|MENU_KEY_8|MENU_KEY_9|MENU_KEY_0

native ze_show_models_menu(id);
native ze_unstuck_player(id);
native ze_open_admin_menu(id);
native ze_open_buy_vip_menu(id);

public plugin_init()
{
	register_plugin("[ZE] Main Menu", ZE_VERSION, AUTHORS)
	
	// Commands
	register_clcmd("chooseteam", "Cmd_ChooseTeam")
	register_clcmd("say /ze", "Cmd_ChooseTeam")
	register_clcmd("say_team /ze", "Cmd_ChooseTeam")
	
	// Register Menus
	register_menu("Main Menu", KEYSMENU, "Main_Menu")
}

public Cmd_ChooseTeam(id)
{
	if (!is_user_connected(id))
		return PLUGIN_CONTINUE;
	
	if (get_member(id, m_iTeam) == TEAM_TERRORIST || get_member(id, m_iTeam) == TEAM_CT)
	{
		Show_Menu_Main(id)
		return PLUGIN_HANDLED // Kill the Choose Team Command
	}
	
	// Player in Spec? Allow him to open choose team menu so he can join
	return PLUGIN_CONTINUE
}

// Main Menu
public Show_Menu_Main(id)
{
	static szMenu[250]
	new iLen
	
	// Title
	iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w%L^n^n", id, "MAIN_MENU_TITLE")
	
	// 1. Buy Weapons
	if (!ze_is_auto_buy_enabled(id)) // AutoBuy not enabled - normal case
	{
		if (is_user_alive(id))
		{
			iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w1.\r %L^n", id, "MENU_WEAPONBUY")
		}
		else
		{
			iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d1. %L^n", id, "MENU_WEAPONBUY")
		}
	}
	else
	{
		// Auto-Buy enabled - Re-enable case
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w1.\r %L^n", id, "MENU_WEAPONBUY_RE_ENABLE")
	}
	
	// 2. Extra Items
	if (is_user_alive(id))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w2.\r %L^n", id, "MENU_EXTRABUY")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d2. %L^n", id, "MENU_EXTRABUY")
	}
	
	// 3. Models menu
	if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_F))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w3. \rModels Menu!^n")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d3. \dModels Menu! [VIP]^n")
	}
	
	// 4. Unstuck
	if (is_user_alive(id))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w4. \rUnstuck!^n")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d4. /rUnstuck!^n")
	}
	
	// 5. Admin Menu
	iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w5. \rAdmin Menu!^n")
	
	
	// 4. Unstuck
	if (is_user_alive(id))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w6. \rBuy V.I.P!^n")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d6. /rBuy V.I.P!^n")
	}
	
	// 0. Exit
	iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "^n^n\w0.\r %L", id, "EXIT")
	
	// Fix for AMXX custom menus
	set_pdata_int(id, OFFSET_CSMENUCODE, 0)
	show_menu(id, KEYSMENU, szMenu, -1, "Main Menu")
}

// Main Menu
public Main_Menu(id, key)
{
	// Player disconnected?
	if (!is_user_connected(id))
		return PLUGIN_HANDLED
	
	switch (key)
	{
		case 0: // Buy Weapons
		{
			if (!ze_is_auto_buy_enabled(id))
			{
				ze_show_weapon_menu(id)
			}
			else
			{
				ze_disable_auto_buy(id)
				Show_Menu_Main(id)
			}
		}
		case 1: // Extra Items
		{
			if (is_user_alive(id))
			{
				ze_show_items_menu(id)
			}
			else
			{
				ze_colored_print(id, "%L", id, "DEAD_CANT_BUY_WEAPON")
			}
		}
		case 2: // Models Menu
		{
			if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_F))
			{
				ze_show_models_menu(id)
			}
		}
		case 3: // Unstuck
		{
			if (is_user_alive(id))
			{
				ze_unstuck_player(id)
			}
		}
		case 4: // Admin Menu
		{
			if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_I))
			{
				ze_open_admin_menu(id)
			}
			
		}
		case 5: // Buy VIP
		{
			if (is_user_alive(id))
			{
                                   ze_open_buy_vip_menu(id);
			}
		}
    }
	return PLUGIN_HANDLED
}
If your native is right this should work.
  1. #include <zombie_escape>
  2. #include <ze_vip>
  3.  
  4. // Keys
  5. const OFFSET_CSMENUCODE = 205
  6. const KEYSMENU = MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4|MENU_KEY_5|MENU_KEY_6|MENU_KEY_7|MENU_KEY_8|MENU_KEY_9|MENU_KEY_0
  7.  
  8. native ze_show_models_menu(id);
  9. native ze_unstuck_player(id);
  10. native ze_open_admin_menu(id);
  11. native ze_open_buy_vip_menu(id);
  12.  
  13. public plugin_init()
  14. {
  15.     register_plugin("[ZE] Main Menu", ZE_VERSION, AUTHORS)
  16.    
  17.     // Commands
  18.     register_clcmd("chooseteam", "Cmd_ChooseTeam")
  19.     register_clcmd("say /ze", "Cmd_ChooseTeam")
  20.     register_clcmd("say_team /ze", "Cmd_ChooseTeam")
  21.    
  22.     // Register Menus
  23.     register_menu("Main Menu", KEYSMENU, "Main_Menu")
  24. }
  25.  
  26. public Cmd_ChooseTeam(id)
  27. {
  28.     if (!is_user_connected(id))
  29.         return PLUGIN_CONTINUE;
  30.    
  31.     if (get_member(id, m_iTeam) == TEAM_TERRORIST || get_member(id, m_iTeam) == TEAM_CT)
  32.     {
  33.         Show_Menu_Main(id)
  34.         return PLUGIN_HANDLED // Kill the Choose Team Command
  35.     }
  36.    
  37.     // Player in Spec? Allow him to open choose team menu so he can join
  38.     return PLUGIN_CONTINUE
  39. }
  40.  
  41. // Main Menu
  42. public Show_Menu_Main(id)
  43. {
  44.     static szMenu[250]
  45.     new iLen
  46.    
  47.     // Title
  48.     iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w%L^n^n", id, "MAIN_MENU_TITLE")
  49.    
  50.     // 1. Buy Weapons
  51.     if (!ze_is_auto_buy_enabled(id)) // AutoBuy not enabled - normal case
  52.     {
  53.         if (is_user_alive(id))
  54.         {
  55.             iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w1.\r %L^n", id, "MENU_WEAPONBUY")
  56.         }
  57.         else
  58.         {
  59.             iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d1. %L^n", id, "MENU_WEAPONBUY")
  60.         }
  61.     }
  62.     else
  63.     {
  64.         // Auto-Buy enabled - Re-enable case
  65.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w1.\r %L^n", id, "MENU_WEAPONBUY_RE_ENABLE")
  66.     }
  67.    
  68.     // 2. Extra Items
  69.     if (is_user_alive(id))
  70.     {
  71.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w2.\r %L^n", id, "MENU_EXTRABUY")
  72.     }
  73.     else
  74.     {
  75.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d2. %L^n", id, "MENU_EXTRABUY")
  76.     }
  77.    
  78.     // 3. Models menu
  79.     if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_F))
  80.     {
  81.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w3. \rModels Menu!^n")
  82.     }
  83.     else
  84.     {
  85.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d3. \dModels Menu! [VIP]^n")
  86.     }
  87.    
  88.     // 4. Unstuck
  89.     if (is_user_alive(id))
  90.     {
  91.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w4. \rUnstuck!^n")
  92.     }
  93.     else
  94.     {
  95.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d4. /rUnstuck!^n")
  96.     }
  97.    
  98.     // 5. Admin Menu
  99.     iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w5. \rAdmin Menu!^n")
  100.    
  101.    
  102.     // 5. Buy VIP
  103.     if (is_user_alive(id))
  104.     {
  105.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w6. \rBuy V.I.P!^n")
  106.     }
  107.     else
  108.     {
  109.         iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d6. /rBuy V.I.P!^n")
  110.     }
  111.    
  112.     // 0. Exit
  113.     iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "^n^n\w0.\r %L", id, "EXIT")
  114.    
  115.     // Fix for AMXX custom menus
  116.     set_pdata_int(id, OFFSET_CSMENUCODE, 0)
  117.     show_menu(id, KEYSMENU, szMenu, -1, "Main Menu")
  118. }
  119.  
  120. // Main Menu
  121. public Main_Menu(id, key)
  122. {
  123.     // Player disconnected?
  124.     if (!is_user_connected(id))
  125.         return PLUGIN_HANDLED
  126.    
  127.     switch (key)
  128.     {
  129.         case 0: // Buy Weapons
  130.         {
  131.             if (!ze_is_auto_buy_enabled(id))
  132.             {
  133.                 ze_show_weapon_menu(id)
  134.             }
  135.             else
  136.             {
  137.                 ze_disable_auto_buy(id)
  138.                 Show_Menu_Main(id)
  139.             }
  140.         }
  141.         case 1: // Extra Items
  142.         {
  143.             if (is_user_alive(id))
  144.             {
  145.                 ze_show_items_menu(id)
  146.             }
  147.             else
  148.             {
  149.                 ze_colored_print(id, "%L", id, "DEAD_CANT_BUY_WEAPON")
  150.             }
  151.         }
  152.         case 2: // Models Menu
  153.         {
  154.             if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_F))
  155.             {
  156.                 ze_show_models_menu(id)
  157.             }
  158.         }
  159.         case 3: // Unstuck
  160.         {
  161.             if (is_user_alive(id))
  162.             {
  163.                 ze_unstuck_player(id)
  164.             }
  165.         }
  166.         case 4: // Admin Menu
  167.         {
  168.             if (is_user_alive(id) && (ze_get_vip_flags(id) & VIP_I))
  169.             {
  170.                 ze_open_admin_menu(id)
  171.             }  
  172.         }
  173.         case 5: // Buy VIP
  174.         {
  175.             if (is_user_alive(id))
  176.             {
  177.                 ze_open_buy_vip_menu(id)
  178.             }
  179.         }
  180.     }
  181.     return PLUGIN_HANDLED
  182. }
Problem>>

Code: Select all

//// ze_main_menu.sma
//
// D:\Games\Funny\Rehlds_publish_3.4.0.641_artifacts\old\Addons\Compiler v1.8.3\scripting\ze_main_menu.sma(5) : error 010: invalid function or declaration
// D:\Games\Funny\Rehlds_publish_3.4.0.641_artifacts\old\Addons\Compiler v1.8.3\scripting\ze_main_menu.sma(117) : error 017: undefined symbol "OFFSET_CSMENUCODE"
// D:\Games\Funny\Rehlds_publish_3.4.0.641_artifacts\old\Addons\Compiler v1.8.3\scripting\ze_main_menu.sma(117) : warning 215: expression has no effect
// D:\Games\Funny\Rehlds_publish_3.4.0.641_artifacts\old\Addons\Compiler v1.8.3\scripting\ze_main_menu.sma(117) : error 001: expected token: ";", but found ")"
// D:\Games\Funny\Rehlds_publish_3.4.0.641_artifacts\old\Addons\Compiler v1.8.3\scripting\ze_main_menu.sma(117) : error 029: invalid expression, assumed zero
// D:\Games\Funny\Rehlds_publish_3.4.0.641_artifacts\old\Addons\Compiler v1.8.3\scripting\ze_main_menu.sma(117) : fatal error 107: too many error messages on one line
//
// Compilation aborted.
// 5 Errors.
// Could not locate output file D:\Games\Funny\Rehlds_publish_3.4.0.641_artifacts\old\Addons\Compiler v1.8.3\scripting\compiled\ze_main_menu.amx (compile failed).
//
Maybe update your compiler it complied fine for me.

User avatar
Luxurious
Mod Tester
Mod Tester
Egypt
Posts: 177
Joined: 6 years ago
Location: Egypt
Contact:

#5

Post by Luxurious » 5 years ago

can u send amxx ?
DRK Zombie-Escape V1.6
IP : 81.169.153.129:27015

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#6

Post by Raheem » 5 years ago

Try with this compiler: viewtopic.php?f=6&t=221
He who fails to plan is planning to fail

Post Reply

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

Register

Sign in

Who is online

Users browsing this forum: No registered users and 7 guests