Seemed to have fixed it by using nvault_lookup instead of nvault_get and checking if they key existed beforehand, and if it didn't, then I would set it to 0.
__________________
Quote:
Originally Posted by DarkGod
nikhilgupta generates his plugins using sheer awesome.