PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <cstrike>
#define PLUGIN "bossmdl"
#define VERSION "0.1"
#define AUTHOR "sfa990103"
new _boss
new boss[] = "boss"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_logevent("logevent_round_start",2, "1=Round_Start")
}
public plugin_precache() {
precache_model("model/player/%s/%s.mdl", boss, boss)
}
public logevent_round_start()
{
get_players( players, num, "ae", "T" )
{
cs_set_user_model(id, boss)
set_user_health(id, 30000)
set_user_armor(id, 3000)
}
}
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
Error: Number of arguments does not match definition on line 22
Error: Undefined symbol "players" on line 27
Error: Undefined symbol "num" on line 27
Warning: Expression has no effect on line 27
Warning: Expression has no effect on line 27
Error: Expected token: ";", but found ")" on line 27
Error: Too many error messages on one line on line 27
Compilation aborted.
5 Errors.
Could not locate output file E:\CS\csbs\cstrike\addons\amxmodx\plugins\Unt itled.amx (compile failed).