PHP Code:
#include <amxmodx>
#include <cstrike>
#define PLUGIN "Plugin"
#define VERSION "1.0"
#define AUTHOR "Author"
public plugin_precache(){
precache_model("models/player/uuck/santa.mdl");
}
public plugin_init(){
register_plugin(PLUGIN, VERSION, AUTHOR);
register_clcmd("say /asd","asd")
}
public asd(client){
cs_set_user_model(client,"santa")
client_print(client, print_chat, "Done")
}
Same, the plugin won't work. The model was downloaded, than nothing.
How did I check if am I a santa? I suicide with the console 'kill' or I waited for explosion of the bomb. Nothing happens.
Is that correct to check with this method upper?
I've tried to check with this form, same

:
PHP Code:
#include <amxmodx>
#include <cstrike>
#define PLUGIN "Plugin"
#define VERSION "1.0"
#define AUTHOR "Author"
public plugin_precache(){
precache_model("models/player/uuck/santa.mdl");
}
public plugin_init(){
register_plugin(PLUGIN, VERSION, AUTHOR);
register_clcmd("say /asd","asd")
register_clcmd("say /check","check")
}
public asd(client){
cs_set_user_model(client,"santa")
client_print(client, print_chat, "Done")
}
public check(client){
new usermodel[31]
cs_get_user_model(client, usermodel, 32)
if(!(containi(usermodel, "santa"))){
client_print(client, print_chat, "Already Santa! *uuuuuuuuck!")
}
else{
client_print(client, print_chat, "Friday! No you are not a Santa!")
}
}