what i doing bad for this line's ?
PHP Code:
public bacon_spawn(id)
{
if (get_user_team(id) == 1)
{
PlayerClass[id] = random_num(0, 3)
}
}
Error's:
Quote:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
zombie_swarm.sma(50) : error 017: undefined symbol "PlayerClass"
zombie_swarm.sma(50) : warning 215: expression has no effect
zombie_swarm.sma(50) : error 001: expected token: ";", but found "]"
zombie_swarm.sma(50) : error 029: invalid expression, assumed zero
zombie_swarm.sma(50) : fatal error 107: too many error messages on one line
Compilation aborted.
4 Errors.
Done.
ERROR: Your plugin failed to compile, see above.
Please note that the silly compiler still tried to output a compiled plugin, but since it would be broken,
the webcompiler caught it, and won't let you download it.
|