Fixed original models not restored when using zr_human on a player.

This commit is contained in:
richard
2009-06-22 17:01:26 +02:00
parent a0d8209c6a
commit 1cc0fc4dda
3 changed files with 28 additions and 5 deletions

View File

@ -366,6 +366,12 @@ new bool:ClassPlayerAdminMode[MAXPLAYERS + 1];
*/
new ClassPlayerNextAdminClass[MAXPLAYERS + 1];
/**
* Cache for storing original model path before applying custom models. Used
* when restoring to old model.
*/
new String:ClassOriginalPlayerModel[MAXPLAYERS + 1][PLATFORM_MAX_PATH];
#include "zr/playerclasses/filtertools"
#include "zr/playerclasses/attributes"
#include "zr/playerclasses/apply"