I am too new scripthing (this is my first scripth) and i want to know what is wrong with my code
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#define PLUGIN "Respawn as T"
#define VERSION "1.0"
#define AUTHOR "Filo"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say respawn", "respawn")
}
public respawn(id)
{
if(is_user_connected(id))
{
if (get_user_health( "0"))
set_user_health ( "100" )
cs_set_user_team ( "1" )
}
}