does anyone know how to finish this line because it keeps giving me errors:
-
Game.Player.Character.Weapons.RemoveAll;
}
-
@ShadoFax it is a method.
Game.Player.Character.Weapons.RemoveAll();
need the () at the end.
-
Shado, please don't take this the wrong way. If you are asking a question like this, I really think you should read some C# tutorials or similar. It will greatly improve your programming, and in turn, modding skills. It will also make you able to solve these issues on your own instead of waiting for someone to respond.
Also make sure to use Intellisense to figure where stuff is and how it works, and always be eager to find these things on your own, whether by Google, looking through others' code, or trial and error.
-
Yeah i watched so many scripting tutorials and they all just dont say anything but just type without explanation.
Ive done many other scripting tutorialz before and none of these helped me. They are all abput how to spawn a ped. I couldnt find any good one so im kinda using this forum as a tutorial
-
@Konijima ty it worked
-
@ShadoFax I mean C# tutorials, not GTA V scripting tutorials. A C# book is also an option. Here are some free ones: https://github.com/EbookFoundation/free-programming-books/blob/master/free-programming-books.md#c-sharp
-
@Jitnaught Nice.