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.
ai cho em hỏi cách add Icon cho nhân vật và weapon với, em down 27 cái plugins của anh Duy trên vn-zoom, thấy cái plugin gắn Icon cho nhân vật và súng nhưng em ko biết xài thế nào![]()
http://vi.wikipedia.org/wiki/Thu%E1%BA%ADt_to%C3%A1n_DijkstraAi có ý tưởng nào về tìm đường đi ngắn nhất của bot đến đích không nhỉ ?
Sao ko dùng Dijkstra hay FloydĐang thử vs bellman fordNếu làm được thì public code
![]()

Bạn nào có plugin hay cách nào đó có thể làm cho 2 phe GR-BL cs1.6 đều mua được hết những vũ khí mặc định không.
Ví dụ như bên Cướp có thể mua được súng m4a1
Bên Cảnh sát mua được súng ak47 mà không cần xài plugin equit.amxx thì cho mình xin hoặc chỉ mình nha

#include <amxmod>
#include <VexdUM>
#if !defined charsmax
#define charsmax(%1) sizeof(%1) - 1
#endif
public plugin_init()
{
register_plugin("No Weapons", "0.0.1", "ConnorMcLeod")
}
public plugin_precache()
{
new iEnt
iEnt = create_entity("game_player_equip")
if( iEnt )
{
DispatchSpawn(iEnt)
}
}
public keyvalue( iEnt )
{
new szClassName[20], szNotUsed[2]
copy_keyvalue(szClassName, charsmax(szClassName), szNotUsed, charsmax(szNotUsed), szNotUsed, charsmax(szNotUsed))
if(equal(szClassName, "game_player_equip"))
{
remove_entity(iEnt)
return PLUGIN_HANDLED
}
return PLUGIN_CONTINUE
}
Code này sẽ lột sạch toàn bộ ( cả knife ) nhìn nó thật là..... trần truồng. Ai có thể giúp mình chỉnh sửa để nó lột toàn bộ ( ngoại trừ Knife ) ko ???? Trên google có 1 plugin như thế là Weapon Remover nhưng cái này gây crash server của mình. Hy vọng có ai giúp mình tí . Thkssssss !!!!
Mã:#include <amxmod> #include <VexdUM> #if !defined charsmax #define charsmax(%1) sizeof(%1) - 1 #endif public plugin_init() { register_plugin("No Weapons", "0.0.1", "ConnorMcLeod") } public plugin_precache() { new iEnt iEnt = create_entity("game_player_equip") if( iEnt ) { DispatchSpawn(iEnt) } } public keyvalue( iEnt ) { new szClassName[20], szNotUsed[2] copy_keyvalue(szClassName, charsmax(szClassName), szNotUsed, charsmax(szNotUsed), szNotUsed, charsmax(szNotUsed)) if(equal(szClassName, "game_player_equip")) { remove_entity(iEnt) return PLUGIN_HANDLED } return PLUGIN_CONTINUE }
P/S: plugin này chỉ có nhiêu đây thôi. Compile nó là chạy được.
#include <amxmodx>
#include <amxmisc>
#include <fun>
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_logevent("logevent_round_start", 2, "1=Round_Start")
}
public logevent_round_start (id) {
strip_user_weapons (id)
give_item (id, weapon_knife)
}
ai biết cách chuyển submodel/skin cho p_model giúp mình với.
Thanks

Đơn giản.
Cách này giúp tiết kiệm model đấy![]()