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.

Increasing Health Method i.e Command(A question for Coders) - Miniscript

Featured Replies

Hey I want to increase my health, ammo, etc  with a script, what are the methods to do this? I have putting this into a miniscript with a keybind attached to it, thanks.

Use the little squiggly line key by the number 1 and then type in heal and press enter. It will heal you and your car.

Check out my YouTube to find LCPDFR videos - [url="http://www.youtube.com/user/Bossnix?feature=mhee"]http://www.youtube.com/user/Bossnix?feature=mhee[/url]

Then learn scripting bud. 

 

 EDIT:

Didnt read his post correctly. 

Thought he was asking for someone to script it for you. 

OP: Sorry for being rude.

Others: Thanks for the -1 votes. They helped me notice my mistake :) 

Edited by Beckugan1

[center][img]http://i.imgur.com/hENU8n2.gif[/img][/center]
[center][b][url="http://www.twitch.tv/pengi33"][color=#800080]Twitch [/color][/url]|[url="https://twitter.com/Pengi33"][color=#40e0d0]Twitter [/color][/url]| [url="http://brokedoggaming.com/"][color=#008000]BrokeDogGaming[/color][/url] | [url="http://lcpdmods.com/"][color=#0000cd]LCPD[/color][color=#b22222]MODS[/color][/url][/b][/center]

That's what he's doing...

@alpfa: You should check out the IRC channel @gtaivnetscripthook on freenode. It's a great place to get scripting help.

If you are using C# it should be something like this or similar. Always use VisualStudio to script. It will prompt you possible methods and properties with description.

 

Game.LocalPlayer.Health = 100;
Game.LocalPlayer.Weapons.CurrentWeapon.Ammo = 999;

If you are using C# it should be something like this or similar. Always use VisualStudio to script. It will prompt you possible methods and properties with description.

 

Game.LocalPlayer.Health = 100;

Game.LocalPlayer.Weapons.CurrentWeapon.Ammo = 999;

 

 

These aren't correct for C#.  The variables are located in  Player.Character.

 

E.g.:    Player.Character.Health = 100;

 

Edited by Braveheart

Serving Police Scotland PC.

Creator of Braveheart's Policing Script.

  • Author

If you are using C# it should be something like this or similar. Always use VisualStudio to script. It will prompt you possible methods and properties with description.

 

Game.LocalPlayer.Health = 100;

Game.LocalPlayer.Weapons.CurrentWeapon.Ammo = 999;

 

Thanks alot but as BraveHeart said it's with Player but yeah thanks a lot guys.

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.