AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   AMX Super (https://forums.alliedmods.net/forumdisplay.php?f=111)
-   -   amx_super connect msg help (https://forums.alliedmods.net/showthread.php?t=70434)

dissonantallure 04-26-2008 04:59

Re: amx_super connect msg help
 
Yea I typed it exactly %ggpos%. I thought that it might be the code but he knows way more than me so i figured it was my mistake.

bmann_420 04-26-2008 06:20

Re: amx_super connect msg help
 
Well I read the code in the gg section and it looked somewhat complex of an integration. So its kinda trial and error with addition.

YamiKaitou 04-26-2008 12:30

Re: amx_super connect msg help
 
Yeah, I wrote it up at work, so I never got a chance to test it. I just copied what bmann did for the name, rankpos, and hostname. I will have to look at it, could be something as simple as a typo on my end. I will look at it later

dissonantallure 04-29-2008 06:28

Re: amx_super connect msg help
 
Sweet thanks I cant wait!

dissonantallure 04-30-2008 09:33

Re: amx_super connect msg help
 
1 Attachment(s)
Hey well I messed with your sma and got it to work so heres my tweak of your sma it works great for me let me know what you think. Edit: Ok new sma works 100% all i had to do was replace
Code:

new data[8], rankpos[8], pos

            pos = get_user_stats(id, data, data)
           
            num_to_str(pos, rankpos, 7)
           
            replace(message, 191, "%rankpos%", rankpos)

with this
Code:

new authid[36], ggpos[8];
        get_user_authid(id, authid, charsmax(authid));
        num_to_str(stats_get_position(authid), ggpos, 7);
        replace(message, 191, "%ggpos%", ggpos);

and a few other small things works great for anyone wishing to use gungame stats instead of statsx. :up:


All times are GMT -4. The time now is 19:41.

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