I'ts not reconising the paramaters from amx_model <paramaters here> can you help? The coding in green is what i think is wrong
Thanks!
Code:
/* Plugin generated by AMXX-Studio
*
*"models/player/oneill/oneill.mdl"
*
*/
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Model changer"
#define VERSION "0.1"
#define AUTHOR "<REMOVED>@gmail.com"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("amx_model","plugin_model")
// Add your code here...
}
public plugin_model(id,level,cid) {
if (!cmd_access(id,level,cid,1)) return PLUGIN_HANDLED
new namearg[32]
read_argv(1,namearg,31)
set_user_info(id,"model",namearg)
client_print(id,print_chat,"*AMXX* Your model should be changed now")
// Add your code here...
return PLUGIN_HANDLED
}