Script Editing Problem
#1

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. )
Reply
#2

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

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.
Reply
#4

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

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?
Reply
#6

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

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"
Reply
#8

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

Reply
#9

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 :/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)