I've been recently trying to set a model onto a player. However, anytime I use setModel("model"), it gives me a script compile error: unknown function setmodel.

Are there any alternatives, or is it something wrong with my code?

Below is a segment of the code:
 

DoMonitorMorphAction()
{
self endon("death");
self endon("disconnect");

self.morphcurr = 0;
self notifyOnPlayerCommand("superclick", "+attack");

for(;
{
self waittill("superclick");
self takeAllWeapons();
if (self.morphcurr == 4)
{
self.morphcurr = 1;
}
else
{
self.morphcurr++;
}
self setModel( level.ModelList[self.morphcurr]);
self iPrintlnBold("You are now disguised as a " + level.ModelName[self.morphcurr]);
}
}