Author Topic: Cloaking  (Read 750 times)

Ok well I made some code but now it won't let you cloak even if your class is 7


Code: [Select]
function SwordImage::onFire(%this,%obj,%slot)
{
       if(%client.class == 7)
    %obj.hideNode(ALL);
                 schedule($cloaktime,0,"applyCharacterPrefs",%obj.client);
                %obj.schedule($cloaktime,"unhideNode",headskin);
}
« Last Edit: June 26, 2008, 10:11:48 PM by Kunit_Yo »