rogierv Posted March 19, 2014 Share Posted March 19, 2014 (edited) 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: 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" : 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 March 19, 2014 by rogierv Link to comment https://gtaforums.com/topic/694684-editing-a-netdll-script/ Share on other sites More sharing options...
LordOfTheBongs Posted March 20, 2014 Share Posted March 20, 2014 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 More sharing options...
stef538 Posted March 21, 2014 Share Posted March 21, 2014 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... Link to comment https://gtaforums.com/topic/694684-editing-a-netdll-script/#findComment-1065023789 Share on other sites More sharing options...
LordOfTheBongs Posted March 21, 2014 Share Posted March 21, 2014 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 More sharing options...
Ricebox Posted March 22, 2014 Share Posted March 22, 2014 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 More sharing options...
LordOfTheBongs Posted March 22, 2014 Share Posted March 22, 2014 (edited) yeah just add the shdn like u would any dll, im sure google can point u to a dl link i use ilspy though instead of .net reflector, i like it better Edited March 22, 2014 by LordOfTheBongs Link to comment https://gtaforums.com/topic/694684-editing-a-netdll-script/#findComment-1065028876 Share on other sites More sharing options...
Ricebox Posted March 22, 2014 Share Posted March 22, 2014 Still a bit confused, would I just go up to File>Open and then select ScriptHook.dll? And how would I go about generating the code from that?*I'm a complete noob, I'm so f*cking sorry.* Link to comment https://gtaforums.com/topic/694684-editing-a-netdll-script/#findComment-1065032578 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now