Skip to content
This repository was archived by the owner on Aug 4, 2025. It is now read-only.

Commit 01b5b0a

Browse files
committed
Version 1.5
New method for setting default skins New natives: ArmsFix_HasDefaultArms, ArmsFix_SetDefaults Compatible with most maps Code optimizations
1 parent b0f3cc6 commit 01b5b0a

File tree

3 files changed

+248
-149
lines changed

3 files changed

+248
-149
lines changed
1.21 KB
Binary file not shown.

addons/sourcemod/scripting/include/n_arm_fix.inc renamed to addons/sourcemod/scripting/include/n_arms_fix.inc

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
#if defined n_arm_fix_include
1+
#if defined n_arms_fix_include
22
#endinput
33
#endif
4-
#define n_arm_fix_include
5-
4+
#define n_arms_fix_include
5+
66

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

23+
/**
24+
* Set default model & arms
25+
*
26+
* @param client client index
27+
* @return no return
28+
*/
29+
native int ArmsFix_SetDefaults(int client);
30+
31+
/**
32+
* Has default arms?
33+
*
34+
* @param client client index
35+
* @return true/false
36+
*/
37+
native int ArmsFix_HasDefaultArms(int client);
38+
2339

24-
public SharedPlugin n_arm_fix_include_shared =
40+
public SharedPlugin n_arms_fix_include_shared =
2541
{
26-
name = "Skin & Arms Fix",
42+
name = "Arms Fix",
2743
file = "n_arms_fix.smx",
2844
#if defined REQUIRE_PLUGIN
2945
required = 1
3046
#else
3147
required = 0
3248
#endif
33-
};
49+
};

0 commit comments

Comments
 (0)