Code:
void SetTimer (int * p,int time,void * func)
{
	while(*p > 0)
	{
		wait((time * -1));
	}	
}



The above code is producing a Script Crash.

Additional:
Code:
Function Call:
SetTimer (SpeedRun_Time,1,NULL);

Variable:
int * SpeedRun_Time = sys_malloc(sizeof(int));



Keep smiling laugh
http://translation.babylon.com/ - Translate many languages