the position
#1

hello, how to calculate the position of the player in a race?

PHP код:
public OnPlayerEnterRaceCheckpoint(playerid)
{
    
player_point [playerid]++;
    
format (stringstring"you position %i/%i", ??, playersInRace());
    return 
1;
}
playersInRace() //returns the number of players in a race
player_point [playerid];// passed сheckpoint
MAX_Checkpoint //the number of all the checkpoint race 
how to do it using floatround? not necessarily code verbal explanation will help, thanks

sorry for bad English=)
Reply
#2

I can not edit posts.
I will add.....how to do it using floatround? not necessarily code verbal explanation will help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)