Add CS_UpdateClientModel native to cstrike extension (bug 5905, r=psychonic).

This commit is contained in:
Drifter
2013-09-10 13:08:14 -04:00
parent 427e93c573
commit 75ce4c395a
4 changed files with 44 additions and 0 deletions
+10
View File
@@ -367,6 +367,15 @@ native CS_WeaponIDToAlias(CSWeaponID:weaponID, String:destination[], len);
*/
native bool:CS_IsValidWeaponID(CSWeaponID:id);
/**
* Sets a player's model based on their current class
*
* @param client Player's index.
* @noreturn
* @error Invalid client index, client not in game.
*/
native CS_UpdateClientModel(client);
/**
* Do not edit below this line!
*/
@@ -404,6 +413,7 @@ public __ext_cstrike_SetNTVOptional()
MarkNativeAsOptional("CS_AliasToWeaponID");
MarkNativeAsOptional("CS_WeaponIDToAlias");
MarkNativeAsOptional("CS_IsValidWeaponID");
MarkNativeAsOptional("CS_UpdateClientModel");
}
#endif