SA-MP Forums Archive
[HELP] <gamemode>.pwn - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] <gamemode>.pwn (/showthread.php?tid=98373)



[HELP] <gamemode>.pwn - juuleman - 20.09.2009

Can someone plz help me?

Im using the Public Enemy N1 script LS (Pen1LS)

But i wanna edit some things in the gamemode.

But now if i change something in the .pwn file and save and test it, it is still the same... Even when i remove a whole script it still works :S...

PLZ HELP!


Re: [HELP] <gamemode>.pwn - Daem. - 20.09.2009

you need pawno completer, download it from: www.sa-mp.com


Re: [HELP] <gamemode>.pwn - juuleman - 20.09.2009

Quote:
Originally Posted by Daem.
you need pawno completer, download it from: www.sa-mp.com
Gimme the file link plz.

And tell what i need to do with it, cause im a bit a nooby...


Re: [HELP] <gamemode>.pwn - Calgon - 20.09.2009

http://files.sa-mp.com/samp02Xserver.win32.zip

In the 'pawno' folder.


Re: [HELP] <gamemode>.pwn - juuleman - 20.09.2009

Quote:
Originally Posted by Calgon
Yeah, but WHAT i need to do in the pawno folder?


Re: [HELP] <gamemode>.pwn - juuleman - 20.09.2009

With that pawno.exe i can do the same as with Winword so what is the diffrents?

And how do i have my changes take effect?


Re: [HELP] <gamemode>.pwn - Calgon - 20.09.2009

Stop doubleposting. You need to use the pawno.exe to edit code and compile it, with SA-MP you have two important files (despite the .inc (includes), the gamemode AMX and the PWN, the PWN is the sourcecode, the AMX is the one that the server uses, you can't create an AMX without using the compiler (pawno.exe).


Re: [HELP] <gamemode>.pwn - juuleman - 20.09.2009

Quote:
Originally Posted by Calgon
Stop doubleposting. You need to use the pawno.exe to edit code and compile it, with SA-MP you have two important files (despite the .inc (includes), the gamemode AMX and the PWN, the PWN is the sourcecode, the AMX is the one that the server uses, you can't create an AMX without using the compiler (pawno.exe).
What i need to do with the .amx file then?


Re: [HELP] <gamemode>.pwn - Imran.Abbas - 20.09.2009

Quote:
Originally Posted by juuleman
Quote:
Originally Posted by Calgon
Stop doubleposting. You need to use the pawno.exe to edit code and compile it, with SA-MP you have two important files (despite the .inc (includes), the gamemode AMX and the PWN, the PWN is the sourcecode, the AMX is the one that the server uses, you can't create an AMX without using the compiler (pawno.exe).
What i need to do with the .amx file then?
Copy .AMX paste in Gamemodes (Folder)


Re: [HELP] <gamemode>.pwn - juuleman - 20.09.2009

You guys dont understand me, i mean in the penls.pwn file is a cmd called /rules. If you do /rules in the server you get the rules but that are the old ones, if i change them in penls.pwn to the new ones and do /rules in the server it still shows the old ones...

What i need to do?


Re: [HELP] <gamemode>.pwn - juuleman - 20.09.2009

com1 someone reply...


Re: [HELP] <gamemode>.pwn - MultiGamer - 20.09.2009

Quote:
Originally Posted by juuleman
com1 someone reply...
Stop doubleposting, man!!! Tried to press F5 after save?


Re: [HELP] <gamemode>.pwn - juuleman - 20.09.2009

Why press F5?


Re: [HELP] <gamemode>.pwn - AG Adam - 20.09.2009

Oh you noob man! Can you create a server? Click on your Search button, or search on ******, this is easy and faster than posting shit on the forum. Learn Pawn before scripting

Now, I am telling you: F5 is compile. This is convert the Pawn code to AMX file what you need.


Re: [HELP] <gamemode>.pwn - juuleman - 20.09.2009

Ok i pressed F5 but now i get this:

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 5180 bytes
Code size: 664496 bytes
Data size: 810104 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4737 cells (18948 bytes)
Total requirements: 1496164 bytes


How do i make an .amx file?


Re: [HELP] <gamemode>.pwn - AG Adam - 20.09.2009

Quote:
Originally Posted by juuleman
Ok i pressed F5 but now i get this:

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 5180 bytes
Code size: 664496 bytes
Data size: 810104 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4737 cells (18948 bytes)
Total requirements: 1496164 bytes


How do i make an .amx file?
This program is maked for you. Now you see your changes in your server?


Re: [HELP] <gamemode>.pwn - [NYRP]Mike. - 20.09.2009

Once you press F5 (Compile) if your pen1.pwn is saved in your Gamemode folder then it will create a .amx there then goto Server.cfg change the RCON pass and run sampserver.exe and its done.

-Mike.


Re: [HELP] <gamemode>.pwn - juuleman - 20.09.2009

yeah it works, thx alot men


Re: [HELP] <gamemode>.pwn - AG Adam - 20.09.2009

np, and good luck for scripting


Re: [HELP] <gamemode>.pwn - [NYRP]Mike. - 20.09.2009

No Problem' Here to help. Contact me if you have any other Problems.

-Mike.