Potrzebujem do mojego code dac Radar dla 10s dzieki

Kod:
case 7:
		{
			if(get_user_flags(id) & ADMIN_LEVEL_H)
			if(money >= costradar)
			{
			        cs_set_user_money(id, money - costradar)
			        ChatColor(id, "!team[ Furien ] !yKupil si Radar-scan")
			        radarscan[id] = 1
			        } else {
			        client_print(id, print_center, "Nemas dostatek penez")
			        } 
			        else 
			        {
			        ChatColor(id, "!team[ Furien ] !yTato polozka je urcena vip hracom.")
			        }
		}
		
		
		
		
public radar_scan(id)
{
	new PlayerCoords[3];
                
	for (new id=1; id<=32; id++)
	if(radarscan[id] == 1)
	{
		if(is_user_alive(id))
                        
		for (new i=1;i<=32;i++)
		{       
			if(!is_user_alive(i) || get_user_team(i) == get_user_team(id)) continue;
			
			get_user_origin(i, PlayerCoords)
                                
			message_begin(MSG_ONE_UNRELIABLE, g_msgHostageAdd, {0,0,0}, id)
			write_byte(id)
			write_byte(i)           
			write_coord(PlayerCoords[0])
			write_coord(PlayerCoords[1])
			write_coord(PlayerCoords[2])
			message_end()
                                
			message_begin(MSG_ONE_UNRELIABLE, g_msgHostageDel, {0,0,0}, id)
			write_byte(i)
			message_end()
		}
	}
}