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.

hamsandwich...
- ở ham_const ra mà coi

Mà vì sao lại đặt tên là HamSandwich thếcái này là lập trình ông ới ko phải là đồ ăn![]()


.#include <amxmodx>
public plugin_init()
{
// Mã lệnh của bạn
}
public plugin_init()
{
register_plugin("First Plugin", "1.0", "Dias Leon")
}
#include <amxmodx>
public plugin_init()
{
register_plugin("First Plugin", "1.0", "Dias Leon")
}
#include <amxmodx>
public plugin_init()
{
register_plugin("Set Health", "1.0", "Dias Leon"
}
register_clcmd("/set_health", "set_health") // Đây là hàm để đăng kí câu lệnh. gồm 2 thông số là Câu lệnh và Chức năng
register_clcmd("câu lệnh", "func")
#include <amxmodx>
public plugin_init()
{
register_plugin("Set Health", "1.0", "Dias Leon"
register_clcmd("/set_health", "set_health")
}
set_user_health(id, health) // Đây là lệnh hay còn gọi là Native, dùng để set máu cho player)
// VD: set_user_health(id, 100) // thì nó sẽ set cho player 100 máu
public set_health(id) // Parameter ở đây luôn luôn là id, trừ một số trường hợp.
{
// Nếu ta liên kết phần này với câu lệnh /set_health thì khi ta gõ /set_health. phần này sẽ chạy
}
#include <amxmodx>
public plugin_init()
{
register_plugin("Set Health", "1.0", "Dias Leon")
register_clcmd("/set_health", "set_health")
}
public set_health(id)
{
set_user_health(id, 100)
}


Compile xong, add plugin, vào game gõ lệnh "helloworld" là sẽ thấy kết quả#include <amxmodx>
public plugin_init()
{
register_plugin("Hello World!", "1.0", "author")}
register_clcmd("helloworld", "cmd_test")
public cmd_test(id)
{
client_print(id, print_console, "Hello World!")}
return PLUGIN_HANDLED

, đủ trình thì mod thử game
,mà chủ yếu mò cho biết thêm thôi 
giúp với