Raised This Month: $ Target: $400
 0% 

amx_super connect msg help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dissonantallure
Member
Join Date: Apr 2008
Old 04-24-2008 , 21:08   amx_super connect msg help
Reply With Quote #1

In my amx_super.cfg It has an enter message where it shows players rank. Looks like this:
// The actual messages
// %name% = Users Name, %rankpos% = Users Current Rank, \n = New line

amx_enter_message "%name% has joined!\nEnjoy the Server!\nCurrent Ranking is %rankpos%"

I dont use statsx so I was wondering if theres a command where the message can show the clients gungame rank. The one that shows when you type !top10. Thanx so much!
dissonantallure is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-24-2008 , 21:14   Re: amx_super connect msg help
Reply With Quote #2

That depends on how GG gets the stats. It is possible, but it would take a bit of work.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-25-2008 , 00:47   Re: amx_super connect msg help
Reply With Quote #3

Okay, I saw Avalanche's post, that is exactly what we need. Now, I will attempt to put it into 3.8.1 for you sometime this weekend
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
dissonantallure
Member
Join Date: Apr 2008
Old 04-25-2008 , 00:51   Re: amx_super connect msg help
Reply With Quote #4

Wow thanx alot! You guys are great! Amx_super + Gungame = best server ever!
dissonantallure is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-25-2008 , 13:11   Re: amx_super connect msg help
Reply With Quote #5

I might be able to get this added to 4.0. New phrase will catch it, %ggpos%


Here is 3.8.1 editted
Attached Files
File Type: sma Get Plugin or Get Source (amx_super.sma - 1012 views - 167.0 KB)
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 04-25-2008 , 15:18   Re: amx_super connect msg help
Reply With Quote #6

Thats pretty cool Yami
__________________
bmann_420 is offline
dissonantallure
Member
Join Date: Apr 2008
Old 04-25-2008 , 19:19   Re: amx_super connect msg help
Reply With Quote #7

Lol so I cant figure out what im doing wrong and I know you like hand-fed this whole thing to me but I seem to be getting something wrong. "Name has joined! Enjoy the Server! Current Ranking is ggpos%" Thats how it shows on the screen. I tried editing amx_super.cfg
Code:
amx_enter_message "%name% has joined!\nEnjoy the Server!\nCurrent Ranking is %ggpos%"
and amx_super.sma
Code:
entermessage = register_cvar("amx_enter_message", "%name% has joined!\nEnjoy the Server!\nCurrent Ranking is %ggpos%")
what am I doing wrong? Sorry if i am annoying anyone with too many questions. ALSO, when i try to download the plugin i get this:
PHP Code:
 Plugin failed to compilePlease try contacting the author.Welcome to the AMX Mod X 1.76-300 Compiler.
Copyright (c1997-2006 ITB CompuPhaseAMX Mod X Team

/home/groups/alliedmodders/forums/files/1/0/4/2/2/26055.attach(311) : error 017undefined symbol "ArrayCreate"
/home/groups/alliedmodders/forums/files/1/0/4/2/2/26055.attach(311) : warning 213tag mismatch
/home/groups/alliedmodders/forums/files/1/0/4/2/2/26055.attach(320) : error 017undefined symbol "ArrayPushString"
/home/groups/alliedmodders/forums/files/1/0/4/2/2/26055.attach(326) : error 017undefined symbol "ArraySort"
/home/groups/alliedmodders/forums/files/1/0/4/2/2/26055.attach(328) : error 017undefined symbol "ArraySize"
/home/groups/alliedmodders/forums/files/1/0/4/2/2/26055.attach(339) : error 017undefined symbol "ArrayGetString"
/home/groups/alliedmodders/forums/files/1/0/4/2/2/26055.attach(354) : error 017undefined symbol "ArrayGetString"
/home/groups/alliedmodders/forums/files/1/0/4/2/2/26055.attach(377) : error 017undefined symbol "ArrayGetString"
/home/groups/alliedmodders/forums/files/1/0/4/2/2/26055.attach(1690) : error 017undefined symbol "charsmax"
/home/groups/alliedmodders/forums/files/1/0/4/2/2/26055.attach(4620) : error 017undefined symbol "set_pcvar_string"
/home/groups/alliedmodders/forums/files/1/0/4/2/2/26055.attach(4640) : error 017undefined symbol "set_pcvar_string"
/home/groups/alliedmodders/forums/files/1/0/4/2/2/26055.attach(5732) : warning 204symbol is assigned a value that is never used"statsArray"
/home/groups/alliedmodders/forums/files/1/0/4/2/2/26055.attach(5732) : warning 204symbol is assigned a value that is never used"sv_password"

10 Errors.
Could not locate output file /home/groups/amxmodx/public_html/compiled3/26055.amx (compile failed). 

Last edited by dissonantallure; 04-25-2008 at 21:15.
dissonantallure is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 04-25-2008 , 23:35   Re: amx_super connect msg help
Reply With Quote #8

Dont edit the sma, thats whats the cvar is for int he .cfg

You need to compile the plugin localy with amx modx 1.8
__________________
bmann_420 is offline
dissonantallure
Member
Join Date: Apr 2008
Old 04-26-2008 , 01:03   Re: amx_super connect msg help
Reply With Quote #9

Ok well, I recompiled twice now and still it says: "Name has joined! Enjoy the Server! Current Ranking is ggpos%". Can anyone help?
dissonantallure is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 04-26-2008 , 03:02   Re: amx_super connect msg help
Reply With Quote #10

And its in the .cfg as above ( %ggpos% ) ? If so, Yami might have made a small type in the code, as I assume he just wrote something up real fast.
__________________
bmann_420 is offline
Reply


Thread Tools
Display Modes

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 19:41.


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