Jump to content

comy123

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Country
    Germany
  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

comy123's Achievements

Newbie

Newbie (1/12)

0

Reputation

  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...