Perhaps a call, but don't wait for it ...
Otherwise, you could do something like this:
PHP Code:
function onWeaponUpdated( nameOfWeapon )
{
while ( true )
{
sleep( 0.05 );
}
}
Personally, I really don't see a use. Your scripts should be coded in a way that if that happens, they can keep on going.