titan88xtaisinh
Mr & Ms Pac-Man
- 14/4/10
- 217
- 6
vipmember share khẩu lục bọ cạp đi bạn
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Hiện bản CS này chỉ giới hạn được đúng 254 viên thôi bạn à :P
>>> bạo lực 

Qua topic [AMXX] hỏi thử đi. Tui nghe HW nói bên đó thôi chứ chưa testDùng sao bạn chỉ mình với.
Hiện bản CS này chỉ giới hạn được đúng 254 viên thôi bạn à :P
.Đẹt, cái con này bảo up rep hộ ta ếch up hộ.
Thực chất set bao nhiêu lên nó bằng từng ấy thì phải nhưng mà không hiển thị hết được số đạn thôi.

Dùng plugin wpn_maxclip thử đi .

Ko cần đâu hotman. Plugin đó là ko giới hạn đạn bắn ra thôi. bắn mãi ko bao giờ hết í mà![]()
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
#define PLUGIN "Unlimited Clip Ammo"
#define VERSION "1.0"
#define AUTHOR "-Acid-/bugsy"
// weapons offsets
#define OFFSET_CLIPAMMO 51
#define OFFSET_LINUX_WEAPONS 4
#define fm_cs_set_weapon_ammo(%1,%2) set_pdata_int(%1, OFFSET_CLIPAMMO, %2, OFFSET_LINUX_WEAPONS)
// players offsets
#define m_pActiveItem 373
const PISTOLS_BITSUM = ( ( 1 << CSW_USP ) | ( 1 << CSW_GLOCK18 ) | ( 1 << CSW_DEAGLE ) | ( 1 << CSW_P228 ) | ( 1 << CSW_ELITE ) | ( 1 << CSW_FIVESEVEN ) );
new const g_MaxClipAmmo[] =
{
0,
13, //CSW_P228
0,
10, //CSW_SCOUT
0, //CSW_HEGRENADE
7, //CSW_XM1014
0, //CSW_C4
30,//CSW_MAC10
30, //CSW_AUG
0, //CSW_SMOKEGRENADE
15,//CSW_ELITE
20,//CSW_FIVESEVEN
25,//CSW_UMP45
30, //CSW_SG550
35, //CSW_GALIL
25, //CSW_FAMAS
12,//CSW_USP
20,//CSW_GLOCK18
10, //CSW_AWP
30,//CSW_MP5NAVY
100,//CSW_M249
8, //CSW_M3
30, //CSW_M4A1
30,//CSW_TMP
20, //CSW_G3SG1
0, //CSW_FLASHBANG
7, //CSW_DEAGLE
30, //CSW_SG552
30, //CSW_AK47
0, //CSW_KNIFE
50//CSW_P90
}
public plugin_init()
{
register_plugin( PLUGIN , VERSION , AUTHOR );
register_event("CurWeapon" , "Event_CurWeapon" , "be" , "1=1" );
}
public Event_CurWeapon( id )
{
new iWeapon = read_data( 2 );
if( PISTOLS_BITSUM & ( 1 << iWeapon ) )
fm_cs_set_weapon_ammo( get_pdata_cbase( id , m_pActiveItem ) , g_MaxClipAmmo[ iWeapon ] )
}

Mình set 600 vin >>> 254 >>> băng đạn 200 viên >>> thay đạn >>> còn 54 viên >>> thay 1 lần nữa bắn được đúng 54 viên là hết @_@ >>> bắn vậy được tổng 454 viên >>> không đã ... không đã ! Tại thiên... tại thiên !
---------- Post added at 17:58 ---------- Previous post was at 17:56 ----------
Để mình thử xem ! Nếu ngoài tầm hoạt động của não xin thỉnh giáo bạn vậy !
, do plugin của bác sontung hay do mình làm thiếu cái gì hả các bạn?Các bạn cho hỏi làm sao để tạo thêm một page trong shop weapon, chỗ weapon primary có 3 trang mà mình add súng vào gần hết rồi nên muốn làm thêm 1 page nữa, mình đã thử làm ra thêm 2 cái NSTWpn_Rifles_4_CT.res và NSTWpn_Rifles_4_TER.res đã thêm code, và thêm "csonst_page4" "&4" trong cstrike_english nhưng vào game vẫn chỉ có 3 page, do plugin của bác sontung hay do mình làm thiếu cái gì hả các bạn?
Resource/UI/NSTWpn_Rifles_4_TER.res
{
"NSTWpn_List"
{
"ControlName" "WizardSubPanel"
"fieldName" "NSTWpn_List"
"xpos" "50"
"ypos" "10"
"wide" "552"
"tall" "448"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"Title"
{
"ControlName" "Label"
"fieldName" "Title"
"xpos" "76"
"ypos" "22"
"wide" "500"
"tall" "48"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#csonst_titlelabel_rifles"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"font" "Title"
"wrap" "0"
}
"ItemInfo"
{
"ControlName" "Panel"
"fieldName" "ItemInfo"
"xpos" "0"
"ypos" "0"
"wide" "0"
"tall" "0"
"autoResize" "3"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"page_1"
{
"ControlName" "MouseOverPanelButton"
"fieldName" "page_1"
"xpos" "326"
"ypos" "40"
"wide" "20"
"tall" "20"
"autoResize" "0"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#csonst_page1"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"Command" "Resource/UI/NSTWpn_Rifles_1.res"
"Default" "1"
}
"page_2"
{
"ControlName" "MouseOverPanelButton"
"fieldName" "page_2"
"xpos" "356"
"ypos" "40"
"wide" "20"
"tall" "20"
"autoResize" "0"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#csonst_page2"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"Command" "Resource/UI/NSTWpn_Rifles_2.res"
"Default" "1"
}
"page_3"
{
"ControlName" "MouseOverPanelButton"
"fieldName" "page_3"
"xpos" "386"
"ypos" "40"
"wide" "20"
"tall" "20"
"autoResize" "0"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#csonst_page3"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"Command" "Resource/UI/NSTWpn_Rifles_3.res"
"Default" "1"
}
"page_4"
{
"ControlName" "MouseOverPanelButton"
"fieldName" "page_4"
"xpos" "416"
"ypos" "40"
"wide" "20"
"tall" "20"
"autoResize" "0"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#csonst_page4"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"Command" "Resource/UI/NSTWpn_Rifles_4.res"
"Default" "1"
}
"page_4"
{
"ControlName" "MouseOvrPanelButton"
"fieldName" "page_4"
"xpos" "416"
"ypos" "40"
"wide" "20"
"tall" "20"
"autoResize" "0"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#csonst_page4"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"Command" "Resource/UI/NSTWpn_Rifles_4.res"
"Default" "1"
}