28.07.2012, 19:03
pawn Code:
public OnFilterScriptInit()
{
new n = -1,time = gettime() + 5;
while(1 != n)
{
if(time > gettime()) printf("lol it works.");
}
}
using the same logic, but with gettickcount it will spam for 10 seconds.
pawn Code:
public OnFilterScriptInit()
{
new n = -1,time = GetTickCount() + 1000*10;
while(1 != n)
{
if(time > GetTickCount()) printf("lol it works.");
}
}