Jump to content

Editing a .Net.DLL script


Recommended Posts

Hello,

 

First of all i have to say i am a real rookie in the scripting world and i have no knowledge about C++ in any way.

 

I am trying to edit some simple lines in a .net.DLL script ( the LC fire rescue script). For some reason it won't let me change the code (as i said i have no experience in coding whatsoever).

 

I managed to open the script with .Net reflector:

 

 

ejR4PMV.png

 

 

 

Now i am trying to edit the LCFireRescue.cs, the following words in this script "M_Y_Pmedic" which is 11 times in the script has to be replaced with "M_Y_Strooper" :

 

 

WIr2Idq.png

 

 

 

If someone could help me with this or explain me how to edit this, would be awesome!

 

this is the .net.DLL i try to edit: http://www.multiupload.nl/6EEK8QADYO

 

Thank you!

Edited by rogierv
Link to comment
https://gtaforums.com/topic/694684-editing-a-netdll-script/
Share on other sites

LordOfTheBongs

no point in editing that code since it wont run in gta, first add the scripthookdotnet to .net reflector, then have it generate the code, then copy it all to notepad and save as a .cs file... that's it, make whatever edit u want but if u dont know c# ur gonna have issues if u run into errors, google is there and everything u could want to know about c# is on google, that's how i learned

Link to comment
https://gtaforums.com/topic/694684-editing-a-netdll-script/#findComment-1065016482
Share on other sites

LordOfTheBongs

You shouldn't be doing this, i don't think people will like it when you browse their source, edit something and release it as your own...

people also shouldnt be modding gta then

 

anyways u can mod whatever u like on your computer just dont release it somewhere and claim u wrote it

 

feel free to edit whatever u like on your own computer... if the scripter is worried about his source then he wouldnt use .net or he would at least obfuscate it

Link to comment
https://gtaforums.com/topic/694684-editing-a-netdll-script/#findComment-1065024776
Share on other sites

no point in editing that code since it wont run in gta, first add the scripthookdotnet to .net reflector, then have it generate the code, then copy it all to notepad and save as a .cs file... that's it, make whatever edit u want but if u dont know c# ur gonna have issues if u run into errors, google is there and everything u could want to know about c# is on google, that's how i learned

How exactly would I go about doing that? Like, adding scripthook to a .net reflector (and also where to obtain it.)

Link to comment
https://gtaforums.com/topic/694684-editing-a-netdll-script/#findComment-1065028194
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

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