Načítání...

GTA V Script Tutor - Experimental Version - Peds Only

Efa992 x

50

This is a tool, an experimental approach, hopefully user friendly, tutoring beginners on basic scripting for GTA V. I would consider this as Alpha and presently just covers spawning peds. More will come only if there is interest from the community.

The tool does generate 100% functional C# scripts, but once more I'll emphasize this is a learning tool, not a script generator per se. And of course, it's open source. If anyone wants to modify it, be my guest.

The installation is portable and there are no requirements other than a browser. It was developed in Firefox and should work in other browsers such as Microcrap Edge and Chrome Spyware. You just unzip and open the html file. There is a help video you can watch if you're terribly bored.

Comments and suggestions are welcome and encouraged. Please keep in mind, as noted in the tool itself, there are dozens of ways to spawn peds. I just selected what I considered a simple one as a starting point. My own code for spawning ped can be shared but it will lose most beginners very quickly as it is much more involved and complex.

Here is just a snippet:
// Create the Ped
Ped ped;

// Determine if the identifier is a string (name) or an enumeration value (PedHash)
if (identifier is string pedName)
{
ped = World.CreatePed(pedName, spawnPosition);
}
else if (identifier is PedHash pedHash)
{
ped = World.CreatePed(pedHash, spawnPosition);
}
else
{
throw new ArgumentException("Identifier must be a string (name) or PedHash.");
}

One final note, I'm definitely not a specialist in web design. I just did my best to make something functional.
Show Full Description

Poprvé nahráno: 20 hours ago
Poslední aktulizace: 20 hours ago
Last Downloaded: před 10 minutami

All Versions

  (current)

50 stažení , 13,8 MB
20 hours ago

5 Komentářů