Posts: 44
Threads: 10
Joined: Nov 2012
Reputation:
0
I am on my local host server right now.
I edited the script with everything I want, I save it, I restart the server, and it doesn't show my changes.
Note that I am very new at scripting and this is probably very simple.
If someone could reply it would be great.
Thanks.
Posts: 1,826
Threads: 52
Joined: Feb 2012
Reputation:
0
Are you sure you are compiling the right gamemode which you have in the server.cfg file?
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
Any change you make by clicking and opening the .pwn file, it won't save it.
You have to run pawno.exe and hit 'Open' button, locate it to the folder your script is located and open the file. Edit it, compile it and make sure you have add it on the server.cfg
Last, run your server and check if they now work!
@Ryder, that doesn't mean that the changes he made are saving/loadig part. They might be some other kind of stuff.
Posts: 1,196
Threads: 45
Joined: Jan 2012
Reputation:
0
When you restart and reconnect, does your script read the INI file or whatever the file is to read what settings you have saved?
Posts: 44
Threads: 10
Joined: Nov 2012
Reputation:
0
Dwane- I am editing the gamemode i have in my script folder 'gamemode' and saving it.
That doesn't work?
Posts: 1,826
Threads: 52
Joined: Feb 2012
Reputation:
0
From where are you accessing 'gamemode'? Access it from pawno/pawno.exe
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
It won't work if you goto the gamemode folder and open the my_gamemode_or_its_name.pwn and edit it, then compile it.
You have to edit it via pawno.exe with the way I mentioned above.
Posts: 1,196
Threads: 45
Joined: Jan 2012
Reputation:
0
in the server.cfg there would be a line which says gamemode0 or gamemode
in front of that line, remove whatever there is and paste in the name of your file (without .amx or .pwn)
Posts: 44
Threads: 10
Joined: Nov 2012
Reputation:
0
I open pawno.exe.
I go to the gamemode folder and open the one mentioned in server.cfg?
I am really dumb when it comes to this stuff.
Posts: 1,196
Threads: 45
Joined: Jan 2012
Reputation:
0
nonono
Open server.cfg
there should be line like gamemode0 grandlarc or something
change it to
gamemode <your gamemode's file name here, without .amx or .pwn>