Raised This Month: $ Target: $400
 0% 

3d Array using map name


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 08-10-2013 , 17:40   3d Array using map name
Reply With Quote #1

Hi all, how to create a 3d array to store map name to combine with user stats?

I need something like this >>

PHP Code:
#include <amxmodx>
#include <amxmisc>

enum Stats // Test for me :)
{
    
K,     // Kills
    
A,     // Assists
    
D,     // Deaths
    
HS,     // Headshots
    
ST,     // Shots
    
HT,     // Hits
    
DM,     // Damage
    
RP,     // Rounds Played
    
RL,     // Rounds Lose
    
RW     // Rounds Win
};

new 
g_iMaps[33][33][Stats];     // UserID, Map Name (?), Stats type

public client_death(iKiller,iVictim,iWP,iPlace,iTK)
{
    
g_iMaps[iKiller][MAP NAME????][K]++;

__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
 



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 15:52.


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