tag mismatch
#1

i get tag mismatch warning for this, btw it says hours is already defined and i put mins and secs in enum any problem will come?

pawn Код:
stock TotalGameTime(playerid, &h=0, &m=0, &s=0)
{

    PlayerInfo[playerid][TotalTime] = (gettime() - PlayerInfo[playerid][ConnectTime]) + (PlayerInfo[playerid][hours]*60*60) + (PlayerInfo[playerid][mins]*60) + (PlayerInfo[playerid][secs] );

    h = floatround(PlayerInfo[playerid][TotalTime] / 3600, floatround_floor);
    m = floatround(PlayerInfo[playerid][TotalTime] / 60,   floatround_floor) % 60;
    s = floatround(PlayerInfo[playerid][TotalTime] % 60,   floatround_floor);

    return PlayerInfo[playerid][TotalTime];
}
Reply


Messages In This Thread
tag mismatch - by DetoNater - 19.06.2013, 17:04
Re: tag mismatch - by Vince - 19.06.2013, 17:29

Forum Jump:


Users browsing this thread: 1 Guest(s)