Jump to content

طلب كود


Recommended Posts

مثال آخر من دون استعمال تيبل ولا تايمر

local waitingTime = 3 -- الثواني

addCommandHandler ( 'justAtest', function ( plr, cmd )
    if ( getTickCount ( ) - ( lastTick or 0 ) >= ( waitingTime * 1000 ) ) then
        outputChatBox ( 'Done', plr, 0, 255, 0, true )
        lastTick = getTickCount ( );
    else
        outputChatBox ( 'Please wait ', plr, 255, 0, 0 , true )
    end
end )

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...