OK so i'm working on a script and a player is suppost to turn into a player type and then turn back after 10 seconds so whats wrong here -schedule(10000,0,%obj.client.player.setDataBlock("HorseArmor"),%obj.client);
function serverCmdBecomeHorse(%client){ %player=%client.player; %old=%player.dataBlock.getName(); // stores the original datablock's name for later %player.setDataBlock("HorseArmor"); // makes the player a horse, this could also be anything else %player.schedule(10000,"setDataBlock",%old); // turns the player back after 10 seconds}