Added validation on class attributes. Some attributes still aren't validated because of unknown limits.
This commit is contained in:
@ -74,6 +74,8 @@ bool:ClassApplyModel(client, classindex, cachetpye = ZR_CLASS_CACHE_PLAYER)
|
||||
Format(modelpath, sizeof(modelpath), "%s.mdl", modelpath);
|
||||
}
|
||||
|
||||
// TODO: Add support for keeping the default cs model ("default").
|
||||
|
||||
SetPlayerModel(client, modelpath);
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user