SA-MP Forums Archive
Pawno or SAMP server not working correctly - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Pawno or SAMP server not working correctly (/showthread.php?tid=456952)



Pawno or SAMP server not working correctly - TraceurEST - 08.08.2013

Hi.

I've got a little problem with my sa:mp server.
When I make changes to my script and compile it, it says, that everything is successful, but the changes are not showing in-game. I tested it with other scripts, but still the same problem. The problem occurred a week ago and I really need help with that.


Re: Pawno or SAMP server not working correctly - BullseyeHawk - 08.08.2013

Are you sure you are loading the correct amx file?
Double check server.cfg.


Re: Pawno or SAMP server not working correctly - TraceurEST - 08.08.2013

Checked, still not working.


Re: Pawno or SAMP server not working correctly - TheCrescendo - 08.08.2013

What changes did you make?


Re: Pawno or SAMP server not working correctly - BullseyeHawk - 08.08.2013

When you run the gamemode, what's the gamemode name? It should show in the SA;MP prospective window.
Also, when you run it. What does it write in the cmd window?


Re: Pawno or SAMP server not working correctly - TraceurEST - 08.08.2013

Everything runs fine, but the changes made to the gamemode are not displaying.
I tested it again by removing one of the commands, but the command still exists in-game.


Re: Pawno or SAMP server not working correctly - TraceurEST - 08.08.2013

Decompiled the .amx file, and everything looks fine, the command is removed, and all the changes have been made, but it just doesn't work in-game...


Re: Pawno or SAMP server not working correctly - Konstantinos - 08.08.2013

Quote:
Originally Posted by TraceurEST
View Post
Hi.

I've got a little problem with my sa:mp server.
When I make changes to my script and compile it, it says, that everything is successful, but the changes are not showing in-game. I tested it with other scripts, but still the same problem. The problem occurred a week ago and I really need help with that.
Do not double click the .pwn file and change the inside. You MUST run pawno.exe > Open File > your_file_name.pwn

Change whatever you want, compile it and run your server.


Re: Pawno or SAMP server not working correctly - TraceurEST - 08.08.2013

I know, how to compile scripts and so on... I've been scripting for 2 years for now.
Everything should work perfectly, but the samp-server.exe still loads the "old" amx, which doesn't exist...


Re: Pawno or SAMP server not working correctly - TraceurEST - 08.08.2013

Got it working.
Took the code, made a new pwn file, pasted the code to that .pwn file and it all works like a charm.