new Array:aKey = ArrayCreate( 35 )
new Array:aData = ArrayCreate( 128 )
new Array:aAll = ArrayCreate( FvaultData )
fvault_load( g_VaultSkillPoints, aKey, aData )
new iArraySize = ArraySize( aKey )
new Data[ FvaultData ]
new i
for( i = 0; i < iArraySize; i++ )
{
ArrayGetString( aKey, i, Data[ szSteamID ], sizeof Data[ szSteamID ] - 1 )
ArrayGetString( aData, i, Data[ szSkillP_Data ], sizeof Data[ szSkillP_Data ] - 1 )
ArrayPushArray( aAll, Data )
}
ArraySort( aAll, "SortData" )
new szPlayerPoints[ 7 ]
new szPlayerLevel[ 7 ]
new szPlayerKills[ 7 ]
new szPlayerDeahts[ 7 ]
new szPlayerHeadShots[ 7 ]
new szPlayerKnifeKills[ 7 ]
new szPlayerKnifeDeaths[ 7 ]
new szPlayerGrenadeKills[ 7 ]
new szPlayerGrenadeDeaths[ 7 ]
new szPlayerBombExplosions[ 7 ]
new szPlayerDefusedBombs[ 7 ]
new szPlayerWonRounds[ 7 ]
new szName[ 22 ]
new iSize = clamp( iArraySize, 0, 12 )
new j
for( j = 0; j < iSize; j++ )
{
ArrayGetArray( aAll, j, Data )
It didn't work of course
Is it because:
1- I did it wrong.
2- They are using the SQL version (LINK) while I'm using the fvault one ?
I'm pretty it's because of reason 1,I know that it is possible to use images in motd
.
.
.
.
.
Extra questions if it's doable :
1- Can I use a GIF image ? (animated)
2- what is the ma size of the image ?
3- Can I use more then one ? egne on top with my server name and one below with some info (ranks will be reset XX/XX/XX at XX:YY....)