Raised This Month: $ Target: $400
 0% 

Fix Plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mix97
Junior Member
Join Date: Aug 2011
Old 11-03-2011 , 05:06   Fix Plugin
Reply With Quote #1

I puted IP and name of server when i compiled but it still dosent work pls help

Quote:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <colorchat>

#define PLUGIN "[xREDIRECT]"
#define VERSION "1.0"
#define AUTHOR "Mix97"

new nick[33]

public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

register_clcmd("say /server", "ConnectServer")

register_clcmd("say_team /server", "ConnectServer")

// Add your code here...
}

public ConnectServer(id)
{
new menu = menu_create("Choose Server", "ConnectServer1")
menu_additem(menu, "Name Of Server", "1", 0)
menu_additem(menu, "Name Of Server", "2", 0)
menu_additem(menu, "Name Of Server", "3", 0)
menu_additem(menu, "Name Of Server", "4", 0)
menu_additem(menu, "Name Of Server", "5", 0)
menu_additem(menu, "Name Of Server", "6", 0)
}


public ConnectServer1(id, menu, item)
{
if(item == MENU_EXIT)
{
menu_destroy(menu)

}
menu_display(id, menu)
switch(item)
{
case 0:
{
console_print(id, "connect IP")
ColorChat(0, GREEN, "[xREDIRECT] ^1%s connected to Name Of Server.", nick)
}

case 1:
{
console_print(id, "connect IP")
ColorChat(0, GREEN, "[xREDIRECT] ^1%s connected to Name Of Server.", nick)
}

case 2:
{
console_print(id, "connect IP")
ColorChat(0, GREEN, "[xREDIRECT] ^1%s connected to Name Of Server.", nick)
}

case 3:
{
console_print(id, "connect IP")
ColorChat(0, GREEN, "[xREDIRECT] ^1%s connected to Name Of Server.", nick)
}

case 4:
{
console_print(id, "connect IP")
ColorChat(0, GREEN, "[xREDIRECT] ^1%s connected to Name Of Server.", nick)
}

case 5:
{
console_print(id, "connect IP")
ColorChat(0, GREEN, "[xREDIRECT] ^1%s connected to Name Of Server.", nick)
}
}
}


Mix97 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 14:24.


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