Jump to content

comy123

Members
  • Posts

    3
  • Joined

  • Last visited

 Content Type 

Forums

Gallery

Downloads

Tutorials

News Stories

Wiki

Community Guidelines

LSPDFR BOLO Series

GTA5 Native Database

GTA5 Native Parameters

Release Highlights

LSPDFR Mod Showcase

LML User Contributions

Everything posted by comy123

  1. Hi, Trying actually to write my first callout plugin. But have problems to sway my PED to shoot on everybody like cops and civils. Not only me. Actually my PED is shooting only on me. I have made some tests with the Relationshipgroups, but was net successful. Maybe anybody can get me the right tip what is to do or where I can find in in the RAGE SDK documentation. I missing a search function there public override bool OnCalloutAccepted() { Rogue.Inventory.GiveNewWeapon("WEAPON_PISTOL", -1, true); RBlip = Rogue.AttachBlip(); return base.OnCalloutAccepted(); } public override void OnCalloutNotAccepted() { base.OnCalloutNotAccepted(); if (Rogue.Exists()) Rogue.Delete(); if (RBlip.Exists()) RBlip.Delete(); } public override void Process() { base.Process(); /*Rogue.RelationshipGroup = "Killer"; Game.LocalPlayer.Character.RelationshipGroup = "Cop"; Game.SetRelationshipBetweenRelationshipGroups("Killer", "Cop", Relationship.Hate);*/ Rogue.Tasks.FightAgainst(Game.LocalPlayer.Character); if (Game.LocalPlayer.Character.IsDead || Rogue.IsDead) { this.End(); } }
  2. Have a look on this. I compiled the version from github in visual studio for myself and works fine in 0.41. I am not sure if it's allowed to make it public.
×
×
  • Create New...