sontung0
Dragon Quest
- 27/5/09
- 1,333
- 402
con NPC kia chắc là fake clientAi nói BOT không biết bắn NPC chứ
[YOUTUBE]zfEMEOy7DYw&feature[/YOUTUBE]
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.
con NPC kia chắc là fake clientAi nói BOT không biết bắn NPC chứ
[YOUTUBE]zfEMEOy7DYw&feature[/YOUTUBE]
nghe thiên hạ đồn thếAnh tùng dạo này chìm lâu nhỉ? Fake client thì bot mới bắn được à?
chuẩn bị đầy tháng đứa thứ nhấtcó công ăn việc làm rồi thì rõ ràng anh ý đâu cần lao đầu vào freecode làm gì, trc rảnh thì mod cho mọi người chơi thôy, ko hiểu có vợ chưa![]()

. Mà nếu fake thì lại thiếu slot cho player rồi
nhanh thật đó, em nhớ lúc anh kết thúc beta 2 là lúc đó anh mới ra trường, đang và đã làm beta là mới đang bắt đầu đi làm, vậy chắc lấy vợ khoảng vừa ra trườngnghe thiên hạ đồn thế
trc thấy trên alien có mấy cái plugin fake client
còn nếu ko phải fake client thì chả bít bot nó nhận kiu j
chuẩn bị đầy tháng đứa thứ nhất![]()
chúc mừng anh 
. Đang có 1 thứ mong dc giúp đỡ, ko cũng chả sao 
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Vietnamese Chat"
#define VERSION "1.0"
#define AUTHOR "Dias"
#define MAX_WORD 5
#define BIND_CODE "messagemode vi_say"
new original_word[MAX_WORD][] =
{
"a1",
"a2",
"a3",
"a4",
"a5"
}
new replaced_word[MAX_WORD][] =
{
"á",
"à",
"ả",
"ã",
"ạ"
}
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("vi_say", "say_handle")
}
public client_putinserver(id)
{
if(!is_user_connected(id))
return
client_cmd(id, "bind j %s", BIND_CODE)
}
public say_handle(id)
{
if(!is_user_connected(id))
return
static my_said[128], My_Name[64]
read_argv(1, my_said, sizeof(my_said))
get_user_name(id, My_Name, sizeof(My_Name))
for(new i = 0; i < sizeof(original_word); i++)
{
replace(my_said, sizeof(my_said), original_word[i], replaced_word[i])
}
//client_print(0, print_chat, "[%s]: %s", My_Name, my_said)
client_printc(0, "!t%s!n: !g%s!n", My_Name, my_said)
}
stock client_printc(index, const text[], any:...)
{
new szMsg[128];
vformat(szMsg, sizeof(szMsg) - 1, text, 3);
replace_all(szMsg, sizeof(szMsg) - 1, "!g", "^x04");
replace_all(szMsg, sizeof(szMsg) - 1, "!n", "^x01");
replace_all(szMsg, sizeof(szMsg) - 1, "!t", "^x03");
if(index == 0)
{
for(new i = 0; i < get_maxplayers(); i++)
{
if(is_user_connected(i))
{
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, i);
write_byte(i);
write_string(szMsg);
message_end();
}
}
} else {
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, index);
write_byte(index);
write_string(szMsg);
message_end();
}
}
Xài dynamic array (ArrayCreate).Giờ em muốn làm plugin thêm súng mới kiểu ava. nếu làm bình thường thì cũng thường thôi nhưng mà muốn custom súng như thêm chức năng, kính nhắm.... nếu làm kiểu all in one thì khai báo mảng quá to nên không complie được,
theo các bác em nên làm từng cây riêng hay làm plugin gôp ?


^
- Tell me Who ?.........................