|
|
Server / Mod Support Discuss our servers - Questions, requests, complaints, etc.. Need help with your server? Have any amxx questions/suggestions? |
Views: 859 - Replies: 11
|
Share | LinkBack | Thread Tools |
|
|||
Country of player
I would like to know how to show the country of the player against his/her name upon them joining the server in the form of a greeting for the game counter-strike. For example: "Joe has joined us from Canada".
As I am a total noob in amxx mod, I would appreciate if you can detail the steps to enable this to be done. I am using the latest amxx mod version 1.7b. I also have statsme installed which has a greeting function. Is it possible to incorporate the country data into the statsme greeting or must I use amxx mod for this. If I have to use amxx mod for this, then I would like to know how to position the location of the greeting in a specific place on the screen and set the colour of the message so that it doesn't clash with the existing statsme greeting mod. Many thanks. JoeCool |
|
||||
i doubt it would work thru the statsme msg because theres probably no geoip code in statsme itself...
and basically... i only know how to do it thru amxx :-P ..the plugin i use is HERE... and if you dont know how to compile plugins, you can just use an online compiler like THIS... one thing tho that plugin in that link isnt as up to date as the one i posted in the amxx forums.. and also the plugin, as of right now, only prints the msg in the chat.. it shows up at the same time it says "so and so has joined the game" it will also print a line that says "so and so is playing from: countryname" I can add a hud msg to it with a cvar to control the settings.. it wont be right now lol... but i can probably do it soon.. so you can check that one out for now if you want.. and i'll try getting 'round to putting hud msg options in... | AvaMods | dodplugins | amxx plugins | Quote: Originally Posted by ThePowerCosmic in regards to AvaMods
They are the type of people that are absolutely destroying the fabric of america and everything that goodness stands for.
|
|
|||
Country of player
Hi,
Many thanks for the super fast reply. This is all so exciting! I've done the following: 1) Enabled the geoip function in the modules.ini file. 2) Compiled the plugin and included it in the plugins.ini file. 3) Do I need to do anything else such as modifying the amxx.cfg file? Thanks again! Joe |
|
||||
well you can add these lines to your amxx.cfg file if you want:
Code:
but the default values are probably fine for you.. by default it will display the msg for everyone who joins except bots (if you run any bots) *and hopefully i'll get to updating the plugin tomorrow... | AvaMods | dodplugins | amxx plugins | Quote: Originally Posted by ThePowerCosmic in regards to AvaMods
They are the type of people that are absolutely destroying the fabric of america and everything that goodness stands for.
|
|
|||
Country of player
Hi again!
Just to let you know that everything worked fine!! I have had players joining me from Canada, Belgium, Sweden, Hong Kong, Singapore and Malaysia! It certainly made the server more cosy as the players know where everyone comes from. Just one final tweak I would like to do to make it perfect. Hope I am not being too forward here!! The position of the message is fine as it is where the chat messages are. Can I change the colour of the message to say, yellow, so that it stands out from the chat messages. lol Many many thanks!! Joe |
|
||||
well i dont really think theres much way to control color of text printed in the chat..
tho im pretty sure green and white are possible.. *btw i got an updated version pretty much set to go.. just gonna do more testing tomorrow.. right now im too tired :-P | AvaMods | dodplugins | amxx plugins | Quote: Originally Posted by ThePowerCosmic in regards to AvaMods
They are the type of people that are absolutely destroying the fabric of america and everything that goodness stands for.
|
|
||||
hey i updated the plugin..
download version 1.3 i re-wrote a lot of it (so old cvar settings need to be redone) otherwise if your happy with the way 1.1 works (i think thats what you're using) and you have no need to update to 1.3 (as it increases plugin size and theres more going on in the functions) it would be best to not update if your not going to use the new features.. *BUT* i do suggest you at least update to 1.2 which fixes a small little thing from 1.1 you can get 1.2 HERE | AvaMods | dodplugins | amxx plugins | Quote: Originally Posted by ThePowerCosmic in regards to AvaMods
They are the type of people that are absolutely destroying the fabric of america and everything that goodness stands for.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|