1. Creeam un plugin nou
Code: Select all
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#define PLUGIN "Tutorial: Register Dictionary"
#define VERSION "1.0"
#define AUTHOR "Adventx"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
// Add your code here...
}
Code: Select all
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#define PLUGIN "Tutorial: Register Dictionary"
#define VERSION "1.0"
#define AUTHOR "Adventx"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_dictionary("nume_dictionary.txt")
}
Code: Select all
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#define PLUGIN "Tutorial: Register Dictionary"
#define VERSION "1.0"
#define AUTHOR "Adventx"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_dictionary("nume_dictionary.txt")
}
public client_connect(id)
{
client_print(id, print_chat, "%L", id, "USER_CONNECTED")
}
Code: Select all
[en]
USER_CONNECTED = Welcome to eXtreamCS.Com
[ro]
USER_CONNECTED = Bine ati venit pe eXtreamCS.Com
Code: Select all
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#define PLUGIN "Tutorial: Register Dictionary"
#define VERSION "1.0"
#define AUTHOR "Adventx"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_dictionary("nume_dictionary.txt")
}
public client_connect(id)
{
client_print(id, print_chat, "%L", id, "USER_CONNECTED, COMMUNITY_NAME")
}
Code: Select all
[en]
USER_CONNECTED = Welcome to
COMMUNITY_NAME = eXtreamCS.Com
[ro]
USER_CONNECTED = Bine ati venit pe
COMMUNITY_NAME = eXtreamCS.Com
Scuzati daca nu am explicat bine, nu am limbajul Pawn bine dezvoltat :">