Raised This Month: $ Target: $400
 0% 

Country & City Menu (and more features)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MAUGHOLD
Veteran Member
Join Date: Nov 2004
Location: CA USA
Old 01-25-2014 , 04:56   Re: Country & City Menu (and more features)
Reply With Quote #1

Quote:
Originally Posted by wickedd View Post
It complies for me locally.
LOL

What compiles for you locally ?

What version of amxx are you using ?
__________________
{FJ}Justice STEAM_0:0:633975 If anyone needs any help with their server, Just add me to steam friends and I'll help you out.
MAUGHOLD is offline
MAUGHOLD
Veteran Member
Join Date: Nov 2004
Location: CA USA
Old 06-13-2011 , 19:40   Re: Country & City Menu (and more features)
Reply With Quote #2

Yes i have it running on my production server in san jose.

This is what it looked like. I will try the new version. thanks.
!gName: !yAlbegro !t| !gCountry: !yUnited States !t| !gCity: !yFort Collins !t| !gTime: !yAmerica/Denver

Hmm, I can change the chat colors to several different colors, why would it all have to be yellow. right now my chat color is lime green.
__________________
{FJ}Justice STEAM_0:0:633975 If anyone needs any help with their server, Just add me to steam friends and I'll help you out.
MAUGHOLD is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-13-2011 , 19:42   Re: Country & City Menu (and more features)
Reply With Quote #3

Quote:
Originally Posted by MAUGHOLD View Post
Hmm, I can change the chat colors to several different colors, why would it all have to be yellow. right now my chat color is lime green.
You can change the default chat color on your client (default is yellow). However, in Counter-Strike there is a way to get multiple colors (as you see in the screenshot) in a single line in chat (via a plugin). But, does not work on Day of Defeat.
__________________
fysiks is offline
MAUGHOLD
Veteran Member
Join Date: Nov 2004
Location: CA USA
Old 06-13-2011 , 19:55   Re: Country & City Menu (and more features)
Reply With Quote #4

Quote:
Originally Posted by fysiks View Post
You can change the default chat color on your client (default is yellow). However, in Counter-Strike there is a way to get multiple colors (as you see in the screenshot) in a single line in chat (via a plugin). But, does not work on Day of Defeat.
Understood.

Thanks for taking the time to fix this for me Fysiks, it works great now for Dayofdefeat. I guess it's now all mod capable.

screenshot
__________________
{FJ}Justice STEAM_0:0:633975 If anyone needs any help with their server, Just add me to steam friends and I'll help you out.
MAUGHOLD is offline
Okapa
Junior Member
Join Date: Mar 2010
Old 06-25-2011 , 22:13   Re: Country & City Menu (and more features)
Reply With Quote #5

Why when I try to download the plugin gives me a compiler error?
Okapa is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 06-25-2011 , 22:49   Re: Country & City Menu (and more features)
Reply With Quote #6

You need to compile it locally.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
MAUGHOLD
Veteran Member
Join Date: Nov 2004
Location: CA USA
Old 06-26-2011 , 04:58   Re: Country & City Menu (and more features)
Reply With Quote #7

This plugin shows bots as being in the same country that the human being before it was shown in.

For example,

It will show player number one as being in the USA and every bot after that player as in the USA as well, until it gets to the next human being, say from Korea, and then every bot after that will also show as being located in korea.
__________________
{FJ}Justice STEAM_0:0:633975 If anyone needs any help with their server, Just add me to steam friends and I'll help you out.

Last edited by MAUGHOLD; 06-26-2011 at 04:58. Reason: typo
MAUGHOLD is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 06-26-2011 , 05:31   Re: Country & City Menu (and more features)
Reply With Quote #8

Here you go, this should make that bots are not in the menu:

PHP Code:
///////////////////////////////////////
//  Credits...                         //
//                                     //
//  Arkshine, xPaw, joropito, Kiske  //
//                                     //
///////////////////////////////////////

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <geoip>

#define PLUGIN    "Country & City Menu"
#define AUTHOR    "Alucard"
#define VERSION    "1.3"

//--------------------START EDIT------------------------//

#define DURATION    8.0

#define RED        255
#define GREEN    255
#define BLUE    255

#define POS_X    0.02
#define POS_Y    0.23

#define is_user_admin2(%1)  (get_user_flags(%1) & ADMIN_KICK)

#define CMD_FLAG    ADMIN_ALL

//--------------------END EDIT-------------------------//

new Ip1[48], Ip2[48]

new 
g_msgSayTextg_Cstrike

new p_ShowModep_OnlyAdminsp_ShowCodep_EnablePlugin

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_cvar("cc_version"VERSION,FCVAR_SERVER|FCVAR_SPONLY)
    
register_cvar("cc_author"AUTHOR,FCVAR_SERVER|FCVAR_SPONLY)
    
    
register_clcmd("say /country""CountryMenu")
    
    
register_concmd("amx_distance""HookCmdDistance"CMD_FLAG"<player1> <player2>")
    
    
p_EnablePlugin register_cvar("cc_enable""1")
    
p_ShowMode register_cvar("cc_showmode""1")
    
p_ShowCode register_cvar("cc_showcode""1")
    
p_OnlyAdmins register_cvar("cc_onlyadmins""0")
    
    
g_msgSayText get_user_msgid("SayText")
    
g_Cstrike cstrike_running()
}

public 
HookCmdDistance(idlevelcid)
{
    if(!
get_pcvar_num(p_EnablePlugin) )
        return 
PLUGIN_HANDLED
    
    
if(!cmd_access(idlevelcid3) )
        return 
PLUGIN_HANDLED
    
    
new arg1[32], arg2[32], Name1[32], Name2[32]
    
    
read_argv(1arg131)
    
read_argv(2arg231)
    
    new 
player1 cmd_target(idarg17)
    new 
player2 cmd_target(idarg27)
    
    if(!
player1 && !player2)
        return 
PLUGIN_HANDLED
    
    get_user_ip
(player1Ip1471)
    
get_user_ip(player2Ip2471)
    
    
get_user_name(player1Name131)
    
get_user_name(player2Name231)
    
    
client_print(idprint_console"--------------------------------------------------------")
    
client_print(idprint_console"[ Target 1: %s | Target 2: %s ]"Name1Name2)
    
client_print(idprint_console"Distance: %f"geoip_distance(geoip_latitude(Ip1), geoip_longitude(Ip1), geoip_latitude(Ip2), geoip_longitude(Ip2) ) )
    
client_print(idprint_console"--------------------------------------------------------")
    
    return 
PLUGIN_HANDLED
}

public 
CountryMenu(id)
{
    if(!
get_pcvar_num(p_EnablePlugin) )
        return 
PLUGIN_CONTINUE
    
    
if(!get_pcvar_num(p_ShowMode) )
        return 
PLUGIN_CONTINUE
    
    
if(get_pcvar_num(p_OnlyAdmins) && !is_user_admin2(id) )
        return 
PLUGIN_CONTINUE
    
    
new Menu menu_create("\rCountry Menu:""CountryHandler")
    
    new 
szName[32], szTarget[10], players[32],
    
Code2[3], Code3[4], Item[64], pnumtarget
    
    get_players
(playerspnum)
    
    for(new 
ipnumi++)
    {
        
target players[i]
        
        if(!
is_user_bot(target) && !is_user_hltv(target))
        {
            
get_user_ip(targetIp1471)
            
get_user_name(targetszName31)
        
            
num_to_str(targetszTarget9)
        
            
geoip_code2_ex(Ip1Code2)
            
geoip_code3_ex(Ip1Code3)
        
            if(
get_pcvar_num(p_ShowCode) == 0)
                
formatex(Item63"%s"szName)
            else if(
get_pcvar_num(p_ShowCode) == 1)
                
formatex(Item63"%s \y[%s]"szNameCode2)
            else if(
get_pcvar_num(p_ShowCode) == 2)
                
formatex(Item63"%s \y[%s]"szNameCode3)
            else
                
formatex(Item63"%s \y[%s]"szNameCode3)
        
            
menu_additem(MenuItemszTarget0)
        }
        
    }
    
    if(
g_Cstrike)
    {
        if(
cs_get_user_buyzone(id) )
            
BuyIcon(id0)
    }
    
    
menu_display(idMenu0)
    return 
PLUGIN_HANDLED
}

public 
CountryHandler(idMenuitem)
{
    if( 
item == MENU_EXIT )
    {
        if(
g_Cstrike)
        {
            if(
cs_get_user_buyzone(id) )
                
BuyIcon(id1)    
        }
        
        
menu_destroy(Menu)
        return 
PLUGIN_HANDLED
    
}
    
    new 
data[6], iName[64]
    new 
accesscallback
    menu_item_getinfo
(Menuitemaccessdata,5iName63callback)
    
    new 
target str_to_num(data)
    
    static 
szCountry[48], szCity[48], szName[32], szTimeZone[48]
    
    
get_user_name(targetszName31)
    
    
get_user_ip(targetIp1471)
    
get_user_ip(idIp2471)
    
    
geoip_timezone(Ip1szTimeZone47)
    
geoip_country(Ip1szCountry47)
    
geoip_city(Ip1szCity47)
    
    if(
equal(szCountry"error") )
    {
        if(!
contain(Ip1"192.168.") || !contain(Ip1"10.") || !contain(Ip1"172.") || equal(Ip1"127.0.0.1") )
        {
            
szCountry "LAN"
            
szCity "LAN"
            
szTimeZone "LAN"
        
}
        else if(
equal(Ip1"loopback") )
        {
            
szCountry "LAN Owner"
            
szCity "LAN Owner"
            
szTimeZone "LAN Owner"
        
}
        else
        {
            
szCountry "Unknown Country"
            
szCity "Unknown City"
            
szTimeZone "Unknown TimeZone"
        
}    
    }
    
    if(
equal(szCity"error") )
    {
        
szCity "Unknown City"
        
szTimeZone "Unknow TimeZone"
    
}
    
    switch(
get_pcvar_num(p_ShowMode) )
    {
        case 
1:
        {
            if(
g_Cstrike)
            {
                
chat_color(id"!gName: !y%s !t| !gCountry: !y%s !t| !gCity: !y%s !t| !gTime: !y%s"szNameszCountryszCityszTimeZone)
                
chat_color(id"!gDistance: !y%f !t[From you]"geoip_distance(geoip_latitude(Ip1), geoip_longitude(Ip1), geoip_latitude(Ip2), geoip_longitude(Ip2) ) )
            }
            else
            {
                
client_print(idprint_chat"!gName: !y%s !t| !gCountry: !y%s !t| !gCity: !y%s !t| !gTime: !y%s"szNameszCountryszCityszTimeZone)
                
client_print(idprint_chat"!gDistance: !y%f !t[From you]"geoip_distance(geoip_latitude(Ip1), geoip_longitude(Ip1), geoip_latitude(Ip2), geoip_longitude(Ip2) ) )
            }
        }
        case 
2:
        {
            
set_hudmessage(REDGREENBLUEPOS_XPOS_Y06.0DURATION0.10.2, -1)
            
show_hudmessage(id"Name: %s^nCountry: %s^nCity: %s^nTime: %s^nDistance: %f [From you]"szNameszCountryszCityszTimeZone
            
geoip_distance(geoip_latitude(Ip1), geoip_longitude(Ip1), geoip_latitude(Ip2), geoip_longitude(Ip2) ) )
        }
        case 
3:
        {
            static 
MotdChars[1536], iLen
            
            iLen 
formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"<html>" 
            
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"<body bgcolor=#000000><font color=#FFFFFF face=Verdana size=4>")
            
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"<center><font size=8 color=#3399FF><b><u>Country & City Info</u></b></font></center>")
            
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"<br><br><br><center><font color=#CCCC00>Name:</font> %s</center>"szName)
            
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"<center><font color=#CCCC00>Country:</font> %s</center>"szCountry)
            
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"<center><font color=#CCCC00>City:</font> %s</center>"szCity)
            
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"<center><font color=#CCCC00>Time:</font> %s</center>"szTimeZone)
            
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"<center><font color=#CCCC00>Distance:</font> %f [From you]</center>"
            
geoip_distance(geoip_latitude(Ip1), geoip_longitude(Ip1), geoip_latitude(Ip2), geoip_longitude(Ip2) ) )
            
            
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"</font></body></html>" )
            
            
show_motd(idMotdChars"Country & City Info"
        }
    }
    
    if(
g_Cstrike)
    {
        if(
cs_get_user_buyzone(id) )
            
BuyIcon(id1)
    }
    
    
menu_destroy(Menu)
    return 
PLUGIN_HANDLED    
}


stock chat_color(const id, const input[], any:...)
{
    static 
msg[191]
    
vformat(msg190input3)
    
    
replace_all(msg190"!g""^4")
    
replace_all(msg190"!y""^1")
    
replace_all(msg190"!t""^3")
    
    
message_begin(MSG_ONE_UNRELIABLEg_msgSayText_id)
    
write_byte(id)
    
write_string(msg)
    
message_end()
}

BuyIcon(idiNum)
{
    
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("StatusIcon"), _id)
    
write_byte(iNum)
    
write_string("buyzone")
    
write_byte(0)
    
write_byte(160)
    
write_byte(0)
    
message_end()

__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
MAUGHOLD
Veteran Member
Join Date: Nov 2004
Location: CA USA
Old 06-27-2011 , 03:26   Re: Country & City Menu (and more features)
Reply With Quote #9

Quote:
Originally Posted by bibu View Post
Here you go, this should make that bots are not in the menu:

PHP Code:
///////////////////////////////////////
//  Credits...                         //
//                                     //
//  Arkshine, xPaw, joropito, Kiske  //
//                                     //
///////////////////////////////////////

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <geoip>

#define PLUGIN    "Country & City Menu"
#define AUTHOR    "Alucard"
#define VERSION    "1.3"

//--------------------START EDIT------------------------//

#define DURATION    8.0

#define RED        255
#define GREEN    255
#define BLUE    255

#define POS_X    0.02
#define POS_Y    0.23

#define is_user_admin2(%1)  (get_user_flags(%1) & ADMIN_KICK)

#define CMD_FLAG    ADMIN_ALL

//--------------------END EDIT-------------------------//

new Ip1[48], Ip2[48]

new 
g_msgSayTextg_Cstrike

new p_ShowModep_OnlyAdminsp_ShowCodep_EnablePlugin

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_cvar("cc_version"VERSION,FCVAR_SERVER|FCVAR_SPONLY)
    
register_cvar("cc_author"AUTHOR,FCVAR_SERVER|FCVAR_SPONLY)
    
    
register_clcmd("say /country""CountryMenu")
    
    
register_concmd("amx_distance""HookCmdDistance"CMD_FLAG"<player1> <player2>")
    
    
p_EnablePlugin register_cvar("cc_enable""1")
    
p_ShowMode register_cvar("cc_showmode""1")
    
p_ShowCode register_cvar("cc_showcode""1")
    
p_OnlyAdmins register_cvar("cc_onlyadmins""0")
    
    
g_msgSayText get_user_msgid("SayText")
    
g_Cstrike cstrike_running()
}

public 
HookCmdDistance(idlevelcid)
{
    if(!
get_pcvar_num(p_EnablePlugin) )
        return 
PLUGIN_HANDLED
    
    
if(!cmd_access(idlevelcid3) )
        return 
PLUGIN_HANDLED
    
    
new arg1[32], arg2[32], Name1[32], Name2[32]
    
    
read_argv(1arg131)
    
read_argv(2arg231)
    
    new 
player1 cmd_target(idarg17)
    new 
player2 cmd_target(idarg27)
    
    if(!
player1 && !player2)
        return 
PLUGIN_HANDLED
    
    get_user_ip
(player1Ip1471)
    
get_user_ip(player2Ip2471)
    
    
get_user_name(player1Name131)
    
get_user_name(player2Name231)
    
    
client_print(idprint_console"--------------------------------------------------------")
    
client_print(idprint_console"[ Target 1: %s | Target 2: %s ]"Name1Name2)
    
client_print(idprint_console"Distance: %f"geoip_distance(geoip_latitude(Ip1), geoip_longitude(Ip1), geoip_latitude(Ip2), geoip_longitude(Ip2) ) )
    
client_print(idprint_console"--------------------------------------------------------")
    
    return 
PLUGIN_HANDLED
}

public 
CountryMenu(id)
{
    if(!
get_pcvar_num(p_EnablePlugin) )
        return 
PLUGIN_CONTINUE
    
    
if(!get_pcvar_num(p_ShowMode) )
        return 
PLUGIN_CONTINUE
    
    
if(get_pcvar_num(p_OnlyAdmins) && !is_user_admin2(id) )
        return 
PLUGIN_CONTINUE
    
    
new Menu menu_create("\rCountry Menu:""CountryHandler")
    
    new 
szName[32], szTarget[10], players[32],
    
Code2[3], Code3[4], Item[64], pnumtarget
    
    get_players
(playerspnum)
    
    for(new 
ipnumi++)
    {
        
target players[i]
        
        if(!
is_user_bot(target) && !is_user_hltv(target))
        {
            
get_user_ip(targetIp1471)
            
get_user_name(targetszName31)
        
            
num_to_str(targetszTarget9)
        
            
geoip_code2_ex(Ip1Code2)
            
geoip_code3_ex(Ip1Code3)
        
            if(
get_pcvar_num(p_ShowCode) == 0)
                
formatex(Item63"%s"szName)
            else if(
get_pcvar_num(p_ShowCode) == 1)
                
formatex(Item63"%s \y[%s]"szNameCode2)
            else if(
get_pcvar_num(p_ShowCode) == 2)
                
formatex(Item63"%s \y[%s]"szNameCode3)
            else
                
formatex(Item63"%s \y[%s]"szNameCode3)
        
            
menu_additem(MenuItemszTarget0)
        }
        
    }
    
    if(
g_Cstrike)
    {
        if(
cs_get_user_buyzone(id) )
            
BuyIcon(id0)
    }
    
    
menu_display(idMenu0)
    return 
PLUGIN_HANDLED
}

public 
CountryHandler(idMenuitem)
{
    if( 
item == MENU_EXIT )
    {
        if(
g_Cstrike)
        {
            if(
cs_get_user_buyzone(id) )
                
BuyIcon(id1)    
        }
        
        
menu_destroy(Menu)
        return 
PLUGIN_HANDLED
    
}
    
    new 
data[6], iName[64]
    new 
accesscallback
    menu_item_getinfo
(Menuitemaccessdata,5iName63callback)
    
    new 
target str_to_num(data)
    
    static 
szCountry[48], szCity[48], szName[32], szTimeZone[48]
    
    
get_user_name(targetszName31)
    
    
get_user_ip(targetIp1471)
    
get_user_ip(idIp2471)
    
    
geoip_timezone(Ip1szTimeZone47)
    
geoip_country(Ip1szCountry47)
    
geoip_city(Ip1szCity47)
    
    if(
equal(szCountry"error") )
    {
        if(!
contain(Ip1"192.168.") || !contain(Ip1"10.") || !contain(Ip1"172.") || equal(Ip1"127.0.0.1") )
        {
            
szCountry "LAN"
            
szCity "LAN"
            
szTimeZone "LAN"
        
}
        else if(
equal(Ip1"loopback") )
        {
            
szCountry "LAN Owner"
            
szCity "LAN Owner"
            
szTimeZone "LAN Owner"
        
}
        else
        {
            
szCountry "Unknown Country"
            
szCity "Unknown City"
            
szTimeZone "Unknown TimeZone"
        
}    
    }
    
    if(
equal(szCity"error") )
    {
        
szCity "Unknown City"
        
szTimeZone "Unknow TimeZone"
    
}
    
    switch(
get_pcvar_num(p_ShowMode) )
    {
        case 
1:
        {
            if(
g_Cstrike)
            {
                
chat_color(id"!gName: !y%s !t| !gCountry: !y%s !t| !gCity: !y%s !t| !gTime: !y%s"szNameszCountryszCityszTimeZone)
                
chat_color(id"!gDistance: !y%f !t[From you]"geoip_distance(geoip_latitude(Ip1), geoip_longitude(Ip1), geoip_latitude(Ip2), geoip_longitude(Ip2) ) )
            }
            else
            {
                
client_print(idprint_chat"!gName: !y%s !t| !gCountry: !y%s !t| !gCity: !y%s !t| !gTime: !y%s"szNameszCountryszCityszTimeZone)
                
client_print(idprint_chat"!gDistance: !y%f !t[From you]"geoip_distance(geoip_latitude(Ip1), geoip_longitude(Ip1), geoip_latitude(Ip2), geoip_longitude(Ip2) ) )
            }
        }
        case 
2:
        {
            
set_hudmessage(REDGREENBLUEPOS_XPOS_Y06.0DURATION0.10.2, -1)
            
show_hudmessage(id"Name: %s^nCountry: %s^nCity: %s^nTime: %s^nDistance: %f [From you]"szNameszCountryszCityszTimeZone
            
geoip_distance(geoip_latitude(Ip1), geoip_longitude(Ip1), geoip_latitude(Ip2), geoip_longitude(Ip2) ) )
        }
        case 
3:
        {
            static 
MotdChars[1536], iLen
            
            iLen 
formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"<html>" 
            
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"<body bgcolor=#000000><font color=#FFFFFF face=Verdana size=4>")
            
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"<center><font size=8 color=#3399FF><b><u>Country & City Info</u></b></font></center>")
            
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"<br><br><br><center><font color=#CCCC00>Name:</font> %s</center>"szName)
            
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"<center><font color=#CCCC00>Country:</font> %s</center>"szCountry)
            
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"<center><font color=#CCCC00>City:</font> %s</center>"szCity)
            
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"<center><font color=#CCCC00>Time:</font> %s</center>"szTimeZone)
            
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"<center><font color=#CCCC00>Distance:</font> %f [From you]</center>"
            
geoip_distance(geoip_latitude(Ip1), geoip_longitude(Ip1), geoip_latitude(Ip2), geoip_longitude(Ip2) ) )
            
            
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars) ) - iLen"</font></body></html>" )
            
            
show_motd(idMotdChars"Country & City Info"
        }
    }
    
    if(
g_Cstrike)
    {
        if(
cs_get_user_buyzone(id) )
            
BuyIcon(id1)
    }
    
    
menu_destroy(Menu)
    return 
PLUGIN_HANDLED    
}


stock chat_color(const id, const input[], any:...)
{
    static 
msg[191]
    
vformat(msg190input3)
    
    
replace_all(msg190"!g""^4")
    
replace_all(msg190"!y""^1")
    
replace_all(msg190"!t""^3")
    
    
message_begin(MSG_ONE_UNRELIABLEg_msgSayText_id)
    
write_byte(id)
    
write_string(msg)
    
message_end()
}

BuyIcon(idiNum)
{
    
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("StatusIcon"), _id)
    
write_byte(iNum)
    
write_string("buyzone")
    
write_byte(0)
    
write_byte(160)
    
write_byte(0)
    
message_end()

Is this edited from the original, or from the one that fysiks did to make it all mods compatible ?
__________________
{FJ}Justice STEAM_0:0:633975 If anyone needs any help with their server, Just add me to steam friends and I'll help you out.
MAUGHOLD is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-27-2011 , 04:17   Re: Country & City Menu (and more features)
Reply With Quote #10

I made his changes to my version. You can re-download in post 44.
__________________
fysiks is offline
Reply



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 10:54.


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