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.
ủa classes CSO tui thấy có đủ rùi mừ , ông làm chi nữa zạ ? CSO có update ah o.O ? cần test gì up lên đây , mai tui nghỉ cả ngày nên sẽ test cho ông , nhưng test gì thì ghi rõ tác dụng của class đó nhé ( button ... ) chứ vào mò chả bít nó làm gì @@
]Request NST ! Giải thix giùm tui cái !Đã vọc xong ! Có vài chỗ thắc mắc mún nhờ Tùng giải thích dùm.
1.nst_get_user_hand(player) return 1 hoặc 2 thôi đúng không ?
2. message_begin(MSG_ONE, SVC_WEAPONANIM, {0, 0, 0}, player)
write_byte(anim)
write_byte(hand)<<========== Chỗ này sẽ tự động hiểu là lấy animation + sub model nào hả cậu?
message_end()
3. Cậu giải thích cơ chế của các sub_hand (nam,nữ ) dùm tớ với. Lưu theo array hả? Tớ không thấy đoạn code nào nhắc đến select submodel 1, 2 gì hết !:):)
để hiểu về cách hiển thị các sub của V model thì cậu chạy thử plugin này thì hiểuĐã vọc xong ! Có vài chỗ thắc mắc mún nhờ Tùng giải thích dùm.
1.nst_get_user_hand(player) return 1 hoặc 2 thôi đúng không ?
2. message_begin(MSG_ONE, SVC_WEAPONANIM, {0, 0, 0}, player)
write_byte(anim)
write_byte(hand)<<========== Chỗ này sẽ tự động hiểu là lấy animation + sub model nào hả cậu?
message_end()
3. Cậu giải thích cơ chế của các sub_hand (nam,nữ ) dùm tớ với. Lưu theo array hả? Tớ không thấy đoạn code nào nhắc đến select submodel 1, 2 gì hết !:):)
#include <amxmodx>
#include <hamsandwich>
#include <fakemeta>
#define PLUGIN "NST Wpn Hand"
#define VERSION "1.0"
#define AUTHOR "NST"
public plugin_init()
{
register_concmd("ww", "ww")
cvar_body = register_cvar("ww_body", "1")
cvar_anim = register_cvar("ww_anim", "1")
}
public ww(id)
{
new anim = get_pcvar_num(cvar_anim)
new body = get_pcvar_num(cvar_body)
message_begin(MSG_ONE, SVC_WEAPONANIM, {0, 0, 0}, id)
write_byte(anim)
write_byte(body)
message_end()
}