How can I calculate the time between two dates
#1

hey, i want to do temp ban and i need help. tnx
Reply
#2

pawn Код:
new
    CalcTime = gettime() + 86400; // 1 day ban
// Now you can store it somewhere and do like

// on player connect
// fetch 'CalcTime' var

if (StoredBanLenVar > gettime())
{
    // still banned
}
Reply
#3

tnx, i want to know what is the date of the ban end, you can help me?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)