Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[WIP] Hostage Situation Script

Featured Replies

  • Author

quick question for someone that can answer.

 

how do you figure out the locations in latitude and longitude for houses

 

 

Thanks officerlurka appreciate it

Edited by Starstriker

  • Author

Sounds great! what can we expect from the script, if you decide to publicly release it?

 

Well the script is loosely based around a common s.w.a.t callou.

 

To give you an idea of what to expect i will give you guys an MDT/EDT readout of it

 

LCPD MDT/EDT Readout

Time Recieved 4:11:21

Callout Recieved: 2981 - Barricaded Hostage Situation/Armed Persons with Hostages

Unit reporting: Sierra-91

Description from unit: Suspect has taken a female/male hostage on Iroqouis Ave and is Firing shots at Units that responded. Officers are pinned down and need assistance. Requesting S.W.A.T/Rescue Unit to my '20 code 3.

Location of Callout: Iroquious Ave Cross Hemitite Street.

Call Priority: Priority 1 Alpha

I have an idea you could implement- maybe one suspect has a human shield in the middle of the street, and you need to get a sniper rifle to snipe him from a distance. That would be a huge difference from other callouts.

  • Author

I have an idea you could implement- maybe one suspect has a human shield in the middle of the street, and you need to get a sniper rifle to snipe him from a distance. That would be a huge difference from other callouts.

 

Hmmm. Interesting idea. Maybe that can be a condition in the script that acts as a different s.w.a.t callout

 

I wonder how you could implement it in there though thats my only concern

  • Author

All right everybody im gonna give you guya a little preview of the script. tell me what you think since it is still in WIP. If anyone sees anything different i should do/change quote this post with the code that you specifically think i should change and i will look at it and weigh the options of the code.

using Systems.Collection.Generic;
using Systems.Windows.Forms;
using GTA;
using LCPD_First_Response.Engine;
using LCPD_First_Response.Engine.Timers;
using LCPD_First_Response.LCPDFR.API;
using LCPD_First_Response.LCPDFR.Callouts;
using HostageSituation.Helpers;

namespace HostageSituation
{
	/// <summary>
	/// LCPD Patrol Unit Delta 14 reports that a deranged man has taken a person hostage and is held up inside and shooting at officers
	/// </summary>
	private enum ECalloutState
	{
	
		STATE_INIT,
		STATE_WAITING_UNIT,
		STATE_WAITING_PLAYER,
		STATE_ARRIVED,
		STATE_MAX,//Do not edit/remove
	}
	
	private enum EHelpMessages
	{
		
		HELP_GET_TO_AREA=0,
		HELP_GET_VEHICLE,
		HELP_GET_POLICE,
		HELP_CLEAR_HOUSE,
		HELP_MAX,//Do not edit/remove
	}
	
	private enum EAttackType
	{
		
		Attack_Hostage_Taker,
		Attack_Hostage_Killed,
		Attack_Police,
		
	};
	
	private enum EAttackState
	{
		
		Attack_NONE,
		ATTACK_ENTERING_TEAM,
		ATTACK_Outside_Police,
		ATTACK_Player,
		Attack_Running,
	}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.