Skip to content

Commit faabc33

Browse files
committed
Fixed some typos in include file
1 parent 6511f10 commit faabc33

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

include/cwapi.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
#define CWAPI_VER_MAJOR 0
77
#define CWAPI_VER_MINOR 7
8-
#define CWAPI_VER_PATCH 0
8+
#define CWAPI_VER_PATCH 1
99

10-
#define CWAPI_VER_TO_STR(%1.%2.%3) fmt("%d.%d.%d",%1,%2,%1)
10+
#define CWAPI_VER_TO_STR(%1.%2.%3) fmt("%d.%d.%d",%1,%2,%3)
1111
#define CWAPI_VER_TO_NUM(%1.%2.%3) ((%1*10000)+(%2*100)+%3)
1212

1313
#define CWAPI_VERSION CWAPI_VER_TO_STR(CWAPI_VER_MAJOR.CWAPI_VER_MINOR.CWAPI_VER_PATCH)
@@ -180,7 +180,7 @@ native CWAPI_GiveWeapon(const UserId, const WeaponName[], const CWAPI_GiveType:T
180180
*
181181
* @return Идентификатор выданного предмета. -1 в случае ошибки
182182
*/
183-
native CWAPI_GiveWeaponById(const UserId, const WeaponName[], const CWAPI_GiveType:Type = CWAPI_GT_SMART);
183+
native CWAPI_GiveWeaponById(const UserId, const WeaponId, const CWAPI_GiveType:Type = CWAPI_GT_SMART);
184184

185185
/**
186186
* Возвращает Array массив со списком кастомных пушек.

0 commit comments

Comments
 (0)