SA-MP Forums Archive
Script Editing Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: Script Editing Problem (/showthread.php?tid=453478)



Script Editing Problem - SkuxOG - 25.07.2013

Hello everyone!

I'm a bit new here. But anyways. I got this Cops and Robbers script today, I believe it is RuNiX's Cops and Robbers.

And I edited everything in the CNR.pwn and I saved it. I only edited it because it had his website and what not and I wanted it to say the information to my site, etc.

So I edited everything to my liking in Notepad ++ and saved it. But when I go onto the server, everything is still the same. It says his website and I guess old CNR server name.

I can't figure out why it won't change. Can anyone help?


(Sorry if this is wrong section, I'm new to these forums and was a bit confused on were to post this. )


Re: Script Editing Problem - Red_Dragon. - 25.07.2013

Open the .pwn file and search (using CTRL + F) and write "SendRconCommand" and change the lines beside those function you'll see.


Re: Script Editing Problem - SkuxOG - 25.07.2013

Quote:
Originally Posted by Red_Dragon.
Посмотреть сообщение
Open the .pwn file and search (using CTRL + F) and write "SendRconCommand" and change the lines beside those function you'll see.
I changed those, but it still doesn't do anything. It still stays the same.

And i'm also trying to change the text in-game but it still stays the same aswell.


Re: Script Editing Problem - Red_Dragon. - 25.07.2013

Does it have any #defines for the server name and website? For example, "SERVER_NAME".


Re: Script Editing Problem - SkuxOG - 25.07.2013

Quote:
Originally Posted by Red_Dragon.
Посмотреть сообщение
Does it have any #defines for the server name and website? For example, "SERVER_NAME".
Not that I know of. Would you like me to post the .pwn file code here so you can review it?


Re: Script Editing Problem - Potassium - 25.07.2013

Did you compile it and upload the .amx or did you simply just save the .pwn file and not do anything more?


Re: Script Editing Problem - SkuxOG - 25.07.2013

Quote:
Originally Posted by Potassium
Посмотреть сообщение
Did you compile it and upload the .amx or did you simply just save the .pwn file and not do anything more?
I just saved the .pwn :/

---------------------------------------------------------------------

EDIT: Okay, I went to Compile it and I got the following error:

Код:
C:\Users\Administrator\Desktop\Cops and Robbers Server\gamemodes\CNR.pwn(2) : fatal error 100: cannot read from file: "dudb"



Re: Script Editing Problem - Potassium - 25.07.2013

Try here: http://forum.sa-mp.com/forumdisplay.php?f=12




Re: Script Editing Problem - SkuxOG - 25.07.2013

Quote:
Originally Posted by Potassium
Посмотреть сообщение
Ok, I fixed that. But now when I go onto my server it says "The server did not respond. Retrying..."

I have the samp-server.exe running :/