Made a admin command for refreshing class data on one or more players.

Updated infect module to use new reload function.
Fixed typo in command description.
Known issue: Models isn't always restored on zr_human. If "default" is used, there's practically no model change. Possible solution: Store path in a buffer when the player join a team and select a model. Then read from that buffer when "default" is used.
This commit is contained in:
richard
2009-06-18 03:33:09 +02:00
parent 9cac025358
commit 4d48cd65de
4 changed files with 99 additions and 5 deletions

View File

@ -694,7 +694,7 @@ InfectZombieToHuman(client, bool:respawn = false, bool:protect = false)
TranslationPrintToChat(client, "Infect human");
// Forward event to modules.
ClassOnClientInfected(client, false);
ClassReloadPlayer(client);
RoundEndOnClientInfected();
ZTeleOnClientInfected(client);