26.04.2009, 00:06
Store the return value of gettime() (without parameters) into a variable then later, call gettime() again and compare to whatever you want in seconds
Example:
Example:
pawn Code:
//new variable at top of script
new time;
//set variable
time = gettime();
//later, for compare:
if (gettime() >= time + 30) //30 seconds or more elapsed