Skip to content

Commit

Permalink
Version 1.5
Browse files Browse the repository at this point in the history
New method for setting default skins
New natives: ArmsFix_HasDefaultArms, ArmsFix_SetDefaults
Compatible with most maps
Code optimizations
  • Loading branch information
NomisCZ committed May 14, 2017
1 parent b0f3cc6 commit 01b5b0a
Show file tree
Hide file tree
Showing 3 changed files with 248 additions and 149 deletions.
Binary file modified addons/sourcemod/plugins/n_arms_fix.smx
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#if defined n_arm_fix_include
#if defined n_arms_fix_include
#endinput
#endif
#define n_arm_fix_include
#define n_arms_fix_include


/**
* Called when it's safe to set arms.
Expand All @@ -20,14 +20,30 @@ forward void ArmsFix_OnArmsSafe(int client);
*/
forward void ArmsFix_OnModelSafe(int client);

/**
* Set default model & arms
*
* @param client client index
* @return no return
*/
native int ArmsFix_SetDefaults(int client);

/**
* Has default arms?
*
* @param client client index
* @return true/false
*/
native int ArmsFix_HasDefaultArms(int client);


public SharedPlugin n_arm_fix_include_shared =
public SharedPlugin n_arms_fix_include_shared =
{
name = "Skin & Arms Fix",
name = "Arms Fix",
file = "n_arms_fix.smx",
#if defined REQUIRE_PLUGIN
required = 1
#else
required = 0
#endif
};
};
Loading

0 comments on commit 01b5b0a

Please sign in to comment.