PDA

View Full Version : cancelevents


Novo
10-17-2006, 11:42 PM
cancelevents( eventname )
doesn't cancel scheduled events... ?


function onTest()
{
echo( 1 );
scheduleevent(0.1,"Test", "");
cancelevents("Test");
}


=> is a spamming bot.

Admins
10-18-2006, 01:53 PM
It's a problem of uppercase, cancelevents only accepts lowercase event names, but I have fixed it in the npcserver and uploaded the new version to all machines, on clientside it will be fixed with the next Graal version.