Some simple scripting questions.
#1

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

Are you sure you are compiling the right gamemode which you have in the server.cfg file?
Reply
#3

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

When you restart and reconnect, does your script read the INI file or whatever the file is to read what settings you have saved?
Reply
#5

Dwane- I am editing the gamemode i have in my script folder 'gamemode' and saving it.
That doesn't work?
Reply
#6

From where are you accessing 'gamemode'? Access it from pawno/pawno.exe
Reply
#7

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

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)
Reply
#9

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

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


Forum Jump:


Users browsing this thread: 2 Guest(s)