int this-> GetTickCount(void)

(Caronte Pcode version 2.0)

Description

int this->GetTickCount( void);

Gets the millisecond count from the script's timer started.


Example.

Source:

CS_ANTISPAM_SCRIPT this = new CS_ANTISPAM_SCRIPT($_this);


for (int i = 0; i < 5; i++)
{
this->Print(this->Format("%d\n",this->GetTickCount()));
this->Sleep(500);
}




Out:

0
500
1000
1500
2000