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.

Are There Any Tutorials on How to Script?

Featured Replies

I wouldn't use C++ if I was you. C++ is quite hard to learn and read, and scripting in .NET gives you a lot of nice features (for example, a bug in your script generally won't crash the game). Also, there seem to be a lot more resources to learn .NET scripting. Instead of C++, I'd learn either Visual Basic or C# and use Scripthook .NET.

C++ does work, and it's probably the most powerful language out of all of them, but it's difficult to learn and isn't very forgiving. VB is easy, and Visual Studio will show you the mistakes you made, that's the first programing language I learned unless you count HTML. C# is pretty good because it's more powerful than VB and has some relation to C++ and Java, so if you wanted to learn C++ or Java later on, the transition would be easier. Keep in mind that these more powerful language are college level. They take years to master. I went to a pre-college vocational school for programming and I found out after about a year that I didn't like computer programming. I found that it yielded too little in the way of results vs. the work I put into it. Graphic design seemed to be more instant-results for me, but now I'm unsure about that field too.

Tips/Donate: u.gamecaster.com/unr3al
Twitch Channel: Twitch.tv/unr3al_twitch
YouTube Channel: YouTube.com/unr3algaming
Twitter: @unr3alofficial

Correction: C# and VB are exactly as powerful. The only difference is syntax; they do literally the same things (in fact, they compile to the same intermediate language and both run on the CLR). However, VB looks like pretty much nothing else, while C# resembles other languages. Also, VB has sort of a terrible reputation (even though they do the same things, they have different communities). I might go with C# just because it has better support. "Power" really doesn't matter for scripting unless you truly (i.e. LMS-level) know what you're doing; you're learning, so you won't be doing anything that's not handled by Scripthook (which you can do just as well in .NET as in C++).

Have you programmed before? If so, you might realize why learning from a book is not necessarily a great way. If not, REALLY DON'T TRY C++. IT IS A TERRIBLE BEGINNER LANGUAGE (shouting intentional).

Anyway, there are no advantages in C++ for scripting unless you are doing extremely low-level, memory hacking stuff (which is also hard to learn, and is an absolutely terrible idea to try to start your scripting career with).

Hey,

If you're not a programmer then yes I would advice you c# and wish you lot of courage !

What you'll need is a compiler (Visual Studio Express is free and does the work fine)

HazardX's "Library" .Net ScriptHook (http://www.hazardx.com/details.php?file=83) (+ its doc/class reference http://www.hazardx.com/details.php?file=89)

Here a list of native function for GTA IV : http://www.gtamodding.com/index.php?title=Native_function

I'm a programmer/developper in c# and I tried a bit but I have to admit that I couldn't actually do anything... The classes for GTA are powerfull but there are things that can be done by a way that is not documented so you can not really know how to do simple things easily.

Anyway good luck and I don't know GTA IV classes but if you need anyhelp in c# don't hesitate asking :D

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.