Jump to content

Question

Posted

Nick: CrystyXSR

Problema: Vip temporar.

Erori / warnings: nu are

Lini/script:

[pawn]stock timec( timestamp, compare = -1 )

{

    if ( compare == -1 )

compare = gettime( );

    new

        n,

        Float:d = ( timestamp > compare ) ? timestamp - compare : compare - timestamp,

        returnstr[ 32 ]

;

if ( d < 60 )

{

        format( returnstr, sizeof( returnstr ), "1 Minute" );

        return returnstr;

    }

else if ( d < 3600 )

{

        n = floatround( floatdiv( d, 60.0 ), floatround_floor );

        format( returnstr, sizeof( returnstr ), "Minute" );

    }

else if ( d < 86400 )

{

        n = floatround( floatdiv( d, 3600.0 ), floatround_floor );

        format( returnstr, sizeof( returnstr ), "Hour" );

    }

else if ( d < 2592000 )

{

        n = floatround( floatdiv( d, 86400.0 ), floatround_floor );

        format( returnstr, sizeof( returnstr ), "Day" );

    }

else if ( d < 31536000 )

{

        n = floatround( floatdiv( d, 2592000.0 ), floatround_floor );

        format( returnstr, sizeof( returnstr ), "Month" );

    }

else

{

        n = floatround( floatdiv( d, 31536000.0 ), floatround_floor );

        format( returnstr, sizeof( returnstr ), "Year" );

    }

    if ( n == 1 )

        format( returnstr, sizeof( returnstr ), "1 %s", returnstr );

    else

        format( returnstr, sizeof( returnstr ), "%d %ss", n, returnstr );

    return returnstr;

}[/pawn]

Ai incercat sa rezolvi singur ?: da dar nu mi-a reusit

93.119.26.23:7777

4 answers to this question

Recommended Posts

Posted

Are WOS b29 editat de Gamer si cand da /buyvip in loc sa ii dea 30 zile , ii da nu stiu cati ani:)

PS: va rog sa ma scuzati da' pe aceasta persoana eu nu il ajut:) deoarece imi face "spam" pe mess sa-l ajut.

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.