[HELP] <gamemode>.pwn
#1

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

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

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

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

In the 'pawno' folder.
Reply
#5

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

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

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

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

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

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

com1 someone reply...
Reply
#12

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

Why press F5?
Reply
#14

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

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

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

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

yeah it works, thx alot men
Reply
#19

np, and good luck for scripting
Reply
#20

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

-Mike.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)