How can i create a top?
#2

PHP код:
    new MaxKills;
    new 
HighestPlayerID;
    for(new 
i=0MAX_PLAYERSi++)
    {
        if (
/*Player's kills*/ MaxKills)
        {
            
HighestPlayerID i;
            
MaxKills /*Player's Kills*/;
        }
    }
    new 
string[72];
    
format(stringsizeof(string), "ID:%d with %d Kills"HighestPlayerIDMaxKills);
    
SendClientMessage(playerid, -1string); 
You'll have to replace the commented variables.
Reply


Messages In This Thread
How can i create a top? - by rockys - 29.10.2018, 18:21
Re: How can i create a top? - by TheToretto - 29.10.2018, 18:28

Forum Jump:


Users browsing this thread: 1 Guest(s)