Still dont work!

Maybe the whole script is completely wrong? And is the spaces very important? Isnt it 4 spaces betwen new commands/lines??
---EDIT---
I tested compiling it at the compiler link on amxmodx.org. There i got this message:
"Read the errors above. Your plugin failed to compile. Make sure it is has the correct #includes."
Do i have right includes?
posting again what i got now:
Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
new PLUGIN[]="Change Name"
new AUTHOR[]="XunTric"
new VERSION[]="1.0"
public plugin_init()
{
register_plugin(Change Name, 1.0, XunTric)
register_concmd("amx_name", "cmd_name", ADMIN_SLAY, " ")
}
public cmd_name(id, level, cid)
{
if (!cmd_acces(id, level, cid, 3))
return PLUGIN_HANDLED
new Arg1[24]
new Arg2[4]
read_argv(1, Arg1, 23)
read_argv(2, Arg2, 3)
new Name = str_to_num (Arg2)
if (arg[0] == '@')
{
new Team = 0
if (equali(arg[1], "CT"))
{
Team = 2
} else if (equali(Arg1[1], "T")) {
Team = 1
}
new players[32}, num
get_players(players, num)
new i
for (i=0; 1<num; 1++)
{
if (!Team)
{
set_user_name(players[i], Name)
} else {
if (get_user_team(players[i]) == Team)
{
set_user_name(players[i], Name)
}
}
}
} else {
new player = cmd_target(id, arg1, 1)
if (!player)
{
console_print (id, "Sorry, player %s could not be found or targetted!", Arg1)
return PLUGIN_HANDLED
} else {
set_user_name(player, Name)
}
return PLUGIN_HANDLED
}