COnvert to R33
#4

PHP код:
CMD:top(playeridparams[])
{
    new 
playerData[512], clanname[MAX_PLAYER_NAME], string[512], clankillsMySQL;
    
MySQL mysql_connect("localhost""root""ur_database""");
    
mysql_tquery(MySQL"SELECT `clanname`, `clankills` FROM `clans` ORDER BY `clankills`");
    while(
cache_retrieve_row()))
    {
        
mysql_fetch_row(playerData); // Don't know how to use it, sry
        
sscanf(playerData"p<|>s[512]d"clannameclankills);
        
format(stringsizeof(string), "%s\n"R"Clan: %s"W"Kills: %d"stringclannameclankills);
        
//SendClientMessage(playerid, ~1, string);
        
ShowPlayerDialogplayerid1DIALOG_STYLE_MSGBOX,"Location: Top Clans"string"(Close)""");
    }
    return 
1;

Reply


Messages In This Thread
COnvert to R33 - by Mriss - 05.04.2014, 07:52
Re: COnvert to R33 - by Mriss - 05.04.2014, 09:38
Re: COnvert to R33 - by Sithis - 05.04.2014, 09:43
Re : COnvert to R33 - by S4t3K - 05.04.2014, 10:08

Forum Jump:


Users browsing this thread: 1 Guest(s)