From 81f9a23d16cc630e98a1542ab9630d63938da5c3 Mon Sep 17 00:00:00 2001 From: Arkshine Date: Sat, 4 Jul 2015 19:59:30 +0200 Subject: [PATCH] Cstrike: cs_get_user_armor - Make optional armortype param --- plugins/include/cstrike.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/cstrike.inc b/plugins/include/cstrike.inc index d33645b6..8dc633c1 100755 --- a/plugins/include/cstrike.inc +++ b/plugins/include/cstrike.inc @@ -615,7 +615,7 @@ native cs_get_user_stationary(index); * MaxClients, or the client is not connected, an error * will be thrown. */ -native cs_get_user_armor(index, &CsArmorType:armortype); +native cs_get_user_armor(index, &CsArmorType:armortype = CS_ARMOR_NONE); /** * Sets the client's armor value the type of armor.