newmodel_name = argv(0);\r
newmodel_extension = argv(1);\r
\r
- if(self.stomach_load >= 3)\r
- applymodel = strcat(newmodel_name, "_state3.", newmodel_extension);\r
- else if(self.stomach_load >= 2)\r
- applymodel = strcat(newmodel_name, "_state2.", newmodel_extension);\r
- else if(self.stomach_load >= 1)\r
- applymodel = strcat(newmodel_name, "_state1.", newmodel_extension);\r
+ if(self.stomach_load)\r
+ applymodel = strcat(newmodel_name, "_state", ftos(floor(self.stomach_load)), ".", newmodel_extension);\r
else\r
applymodel = self.playermodel;\r
\r