Raised This Month: $ Target: $400
 0% 

Displaying HUD msg to a group...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mini_Midget
Veteran Member
Join Date: Jan 2006
Location: It's a mystery.
Old 11-07-2007 , 07:30   Displaying HUD msg to a group...
Reply With Quote #1

I'm trying to display this...
[img]http://img136.**************/img136/5194/csassault0023nu7.jpg[/img]
But this is displaying for the whole CT team and my team mates stats.

What I'm trying to do is make it display for the squad you are in.
For eg...
I'm in squad alpha and I type /stats.
I want it to show the stats of everyone in squad alpha.
Not any other squads, just the CT side of squad alpha.

I know its somewhere in these lines...
PHP Code:
new infoTable[256], pdata[32][playerData], pnum
    format
(infoTable255"HP - AP^t^tWEAPON^t^tAMMO^t^tNAME^n")

    new 
iPlayers[32], iNum
    get_players
(iPlayersiNum"ae""CT")
    for (new 
iNum ;  x++)
    {
        new 
iPlayers[x

        new 
line[MAX_ROW_SIZE], name[32], ihphp[4], iapap[4], weapon[8], iclipclip[4], iammoammo[4], weap get_user_weapon(iiclipiammo

The next thing is that I realized that all the squads are all linked to both teams.
For eg...
I'm in CT and I join squad delta.
Delta - 1/5
And someone in T joins squad delta too.
Delta - 2/5

How can I make it so both teams have their own group of squads so when you join one. It won't effect the other teams squad member count.

Thanks for the help!
Attached Files
File Type: sma Get Plugin or Get Source (squad_mod.sma - 669 views - 11.5 KB)
__________________
It's a mystery.

Last edited by Mini_Midget; 11-07-2007 at 07:35.
Mini_Midget 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 01:14.


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