Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

HippieCommunist

[IV|WIP] CPR & Handcuff arrest

Recommended Posts

HippieCommunist

hey you folks!

 

get this beta (my first) C# script allowing the player preform a CPR and revive ANY injured ped by pressing (&holding) 'Num0'.

while wearing an LSD uniform press Num0 to arrest and cuff peds... Shifty41s_beerhatsmilie2.gif

you can now make them drop their weapons! (must hold weapon to threat!)

 

DOWNLOAD CPR&ARREST 0.1 (with cop jacket!)

the rar includes a simple texture and model change (use OpenIV or SparkIV)

 

DOWNLOAD PedToys 0.8 (script/ini)

*added keybind ini option

 

*special thanks to icon14.gif lilmcnessy icon14.gif

no more restartingta lol.gificon14.gif

 

-press 'NumPad0' to preform CPR on nearest ped, and arrest peds while wearing LSD uniform (a modest cop uniform included in the rar)

+arresting will make criminal to drop weapon (must hold weapon and be close to arrest)

+arresting ppl is the same as killing them... (fleeing ped is considered dead by the code/mission)

 

-press 'NumPad1' to **throw/shoot a tranquilizer dart at nearest ped **(depends on the weapon you're holding)

+while holding a knife press num1 to throw the knife at the nearest ped

+slight chance to loose the knife, best way to keep it is to stand close to stick it out of the corpse

 

-press multiply (*) to enable/disable the ragdoll control

+press numpad4/6/8/2 to control the nearest ragdoll's movement

+press numpad7/9 to turn nearest ragdoll left/right

+press numpad5 to make the nearest fallen ragdoll to get up

+press numpad3 to make nearest ragdoll to get inside the nearest car (must stand close)

*press numpad3 while driving a numbhead to make him get out

+press numpad+ to make nearest ragdoll jump

+press numpad- to make nearest ragdoll to shoot (if has weapon)

 

enjoy!

Edited by HippieCommunist

Share this post


Link to post
Share on other sites
Kutsikas15

ill give it a try smile.gif

Share this post


Link to post
Share on other sites
HippieCommunist

yeah i wanted to make more option except killing all the time...

 

not that killing all the time is bad biggrin.gif

just for taste

 

tell me what you think tounge.gif

Share this post


Link to post
Share on other sites
HippieCommunist

arresting will make criminal to drop weapon (must hold weapon and be close to arrest)

Share this post


Link to post
Share on other sites
Kutsikas15

Hmm CPR works really nice... and its a damn good idea!!!

but what should i do to arrest one?

Share this post


Link to post
Share on other sites
HippieCommunist

wear LSD uniform and hold a weapon before pressing num0 cool.gif

Share this post


Link to post
Share on other sites
Kutsikas15
wear LSD uniform and hold a weapon before pressing num0 cool.gif

Where do u get that uniform?

Share this post


Link to post
Share on other sites
silvermanblue
wear LSD uniform and hold a weapon before pressing num0  cool.gif

Where do u get that uniform?

you get it after the diamond mission.

Share this post


Link to post
Share on other sites
Kutsikas15
wear LSD uniform and hold a weapon before pressing num0  cool.gif

Where do u get that uniform?

you get it after the diamond mission.

Then that uniform is a really bad idea... u should change it-so u can use arrest even if u just started to play the game...*i lost my savegame and now im back to beginning ... well u get me ...

Share this post


Link to post
Share on other sites
HippieCommunist

you can just use the in-game-trainer...

 

sry but wearing a uniform is pretty essential for arresting peds

 

ive made it so that when you start patrol mod while holding shift inf my Contact Missions mod to switch wear the uniform ph34r.gif

 

Share this post


Link to post
Share on other sites
DoKeR

wow ! that looks good happy.gif

 

my game is getting getting filled with mods from you cookie.gif I hope they all get along

 

nice one icon14.gif

Share this post


Link to post
Share on other sites
HippieCommunist

yes that was my point!

 

arresting a ped INSTEAD of killing them...

so when doing a vigilante mission, any cuffed ped will be considered as neutralized as he FLEEs from the scene wink.gif

that way the code disables him when hes out of range...

 

DOWNLOAD 0.2 (script w\ini only)

 

*added keybind option in ini (huge thanks to hardsty1e! icon14.gificon14.gificon14.gif )

Share this post


Link to post
Share on other sites
AgentWD40

Man can't get any better then this or can it wink.gifShifty41s_beerhatsmilie2.gif Top of the line grade A sh*t lol gj

Share this post


Link to post
Share on other sites
lemonwire

Hippiecommunist is at it again, nice work. cookie.gif

 

Can i ask a favour tho?

Can you make the resuscitation ability available to Niko without the need for the LSD uniform?

I always wanted to revive the innocent people I shoot which I can now, but the LSD uniform is just cramping my style.

 

Thanks.

Share this post


Link to post
Share on other sites
HippieCommunist

tada!

 

done...

 

you never needed the lsd for the cpr wink.gif

(there is a doctor outfit so...)

Edited by HippieCommunist

Share this post


Link to post
Share on other sites
McGrayver

What is different compared with the LCPD First Responds Mod?

Share this post


Link to post
Share on other sites
HippieCommunist

hah... notify.gif

 

-no model change so no crash

-1 button (w/ ini)

-criminals drop their weapons (but something tells me that 0.8 version will have that aswell)

-i dont charge money for beta.

Edited by HippieCommunist

Share this post


Link to post
Share on other sites
Kutsikas15
hah... notify.gif

 

-no model change so no crash

-1 button (w/ ini)

-criminals drop their weapons (but something tells me that 0.8 version will have that aswell)

-i dont charge money for beta.

Are u in war with MM or what? noone is charging anything man... everything is free but donators get to see "whats coming" at first... cause...they donated...and thats charity not charging! See Donation !!!

 

emm...and whats different-hmm LCPDFR is way cooler, cause has more in it... thats it-but right now-u made a really good job with CPR !!

Share this post


Link to post
Share on other sites
HippieCommunist

right... looks alot like a FEE to me dozingoff.gif

theres no WAR lol

 

what part of my nick dont you get?

biggrin.gif

Share this post


Link to post
Share on other sites
notspectre

No war folks. I imagine HC is simply doing what my mod doesn't do, I.e a cool CPR and arresting feature, however they're both going to be in 0.80.

 

Good work on your little mod HC, has some potential. If you need help with some coding, drop me a PM.

 

MM.

Share this post


Link to post
Share on other sites
Kutsikas15
right... looks alot like a FEE to me dozingoff.gif

theres no WAR lol

 

what part of my nick dont you get?

biggrin.gif

Well i try to make myself as clear as i can... Thats not FEE, because you dont get anything for return *well you get the preview-but thats it!(that means-you get to test script as pre-beta-so if anyone find some error/bug, then it could be removed for public beta) You dont get final version of that script. And how you can charge anyone for something-when its free.... *free of charge*you dont have to pay for it*.

You suggest that beggar on the street(who is begging for money) is actually charging you , because he doest know how to work/he cant work/hes lazy/aso...... Comon man-in the end-thats just stupid!

*And dont argue with me-you cant win this one.......

 

Well good luck with development and hope to see more from you! icon14.gif

Share this post


Link to post
Share on other sites
HippieCommunist

biggrin.gif

 

boooy i hope you've earned the money you donated YOURSELF... otherwise id be feeling pretty guilty mercie_blink.gif

 

BUT THATS JUST ME sneaky2.gif

oh and i dont think you should compare MM to a begger...

 

 

No war folks. I imagine HC is simply doing what my mod doesn't do, I.e a cool CPR and arresting feature, however they're both going to be in 0.80.

 

Good work on your little mod HC, has some potential. If you need help with some coding, drop me a PM.

 

MM.

 

sure takes alot of time... yawn.gif

thanks for the generous offer but dont worry about my learning pace wink.gif

 

took me a day and a half to bring this kick-ass addition to my Contact Missions mod using C#... cool.gif

its easy to learn.

 

i literally cant wait for 0.8... this topic proves it Shifty41s_beerhatsmilie2.gif

in a way you even inspired me.

sigh.gif

thanks again

Share this post


Link to post
Share on other sites
Kutsikas15

First of all- i havent donated anything-because i cant! second-i didnt compare MM to a begger *that begger story was just to clear YOUR tought/suggestion! *And btw-MM is kinda my god(even tough that "superior" doesnt exist) and there is no way im gonna say something bad about him biggrin.gif

 

Well... i kinda stop spamming your topic from now on... because i already made my point and as i said... i would love to see more scripts from u later on wink.gif

Edited by Kutsikas15

Share this post


Link to post
Share on other sites
SirQue

you games photo pls...

Share this post


Link to post
Share on other sites
lilmcnessy
you games photo pls...

You don't need pictures, it works

YOu can always trust HippieCommunist

 

Great job btw, but when you arrest someone they always run off, where do they go? Or is something else supposed to happen?

 

 

*special thanks to icon14.gif lilmcnessy icon14.gif

no more restartingta lol.gif icon14.gif

 

And thanks man, its nice to have respect with others in the modding community icon14.gif

 

Share this post


Link to post
Share on other sites
HippieCommunist

you sure got my respect wink.gif

 

new release with some new features

i wanted to add more stealthy feeling so i added the ability to drug ppl with a tranquilizer darts!

and added the ability to throw a knife devil.gif

 

-press 'NumPad1' to **throw/shoot a tranquilizer dart at nearest ped **(depends on the weapon you're holding)

+while holding a knife press num1 to throw the knife at the nearest ped

+slight chance to loose the knife, best way to keep it is to stand close to stick it out of the corpse

 

DOWNLOAD 0.5(script w\ini only)

 

plz report any bugs u find wink.gif

damn need to make a clip or somn'

 

enjoy!

Edited by HippieCommunist

Share this post


Link to post
Share on other sites
BGModder
And btw-MM is kinda my god(even tought that "superior" doesnt exist) and there is no way im gonna say something bad about him biggrin.gif

wtf....

 

anyways cool mod HC biggrin.gif

Share this post


Link to post
Share on other sites
HippieCommunist

yeah kinna sounds like slight fanatism there...

 

thanks bro!

 

make sure to redownload... i fixed a nasty bug causing to crash when sticking the knife... sigh.gif

*edit: damn i had to remove the sticking knife in the ped due to crash... dunno why notify.gif

 

DOWNLOAD PedToys 0.6

Edited by HippieCommunist

Share this post


Link to post
Share on other sites
AgentWD40

 

2009-10-25 13:39:22 - Initializing ScriptHookDotNet v0.893 BETA (GTA IV version 1.0.4.0)2009-10-25 13:40:02 - Direct3D device created!2009-10-25 13:40:02 - SEARCHING FOR SCRIPTS...2009-10-25 13:40:02 - Loading scripts in Assembly 'scripts\PedToys.net' ...2009-10-25 13:40:02 -  ...found script 'Dart_Knife.Dart_Knife'!2009-10-25 13:40:02 -  ...found script 'CPR.CPR'!2009-10-25 13:40:02 - Loading dynamic scriptfile 'scripts\TestScripts.cs' ...2009-10-25 13:40:03 -  ...found script 'TestScriptCS.BindKeyExample'!2009-10-25 13:40:03 -  ...found script 'TestScriptCS.InfoAndBindExample'!2009-10-25 13:40:03 -  ...found script 'TestScriptCS.EuphoriaExample'!2009-10-25 13:40:03 -  ...found script 'TestScriptCS.AnimationExample'!2009-10-25 13:40:03 - DONE! 6 valid scripts found!2009-10-25 13:40:03 - STARTING SCRIPTS...2009-10-25 13:40:03 -  ...successfully started script 'TestScriptCS.AnimationExample'!2009-10-25 13:40:03 -  ...successfully started script 'TestScriptCS.EuphoriaExample'!2009-10-25 13:40:03 -  ...successfully started script 'TestScriptCS.InfoAndBindExample'!2009-10-25 13:40:03 -  ...successfully started script 'TestScriptCS.BindKeyExample'!2009-10-25 13:40:03 -  ...successfully started script 'CPR.CPR'!2009-10-25 13:40:03 -  ...successfully started script 'Dart_Knife.Dart_Knife'!2009-10-25 13:40:27 - Error during Tick in script 'Dart_Knife.Dart_Knife':                     System.Exception: RemoteEvent 'NativeInvoke' threw a System.AccessViolationException: Attempted to read or write protected memory during remote call to native function 'CREATE_OBJECT'!                        at unmanaged.NativeContext3.Invoke(SByte* name, NativeContext3* cxt)                        at GTA.World.CreateObject(Model Model, Vector3 Position)                        at Dart_Knife.Dart_Knife.ScriptCommunicationExample2_Tick(Object sender, EventArgs e)                        at GTA.Script.TryTick()                        at GTA.Script.DoTick()                        at GTA.ScriptThread.OnTick()

 

 

Help plz

Share this post


Link to post
Share on other sites
HippieCommunist

redownload

 

REdownload PedToys 0.6

 

*forgot to mention, i fixed the arrest code now doesnt detect group members

Edited by HippieCommunist

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.