04.01.2010, 15:03
On the sa-mp wiki stands (How to make a basic DM server):
Making a basic deathmatch
Making a basic deatchmatch in PAWN couldn't be simpler. Simply open up Pawno (see Scripting Editors) and click new. There you have it, your first script. To run it first save it (most people save it to "<San Andreas Install Directory>/samp/gamemodes/src/" but it is easier (for local testing) to save it to "<SA>/samp/gamemodes/"), then click the button on the toolbar to the immediate left of the blue arrow button. This will compile your .pwn file to a .amx in the same folder, however for the game to see it it needs to be in "<SA>/samp/gamemodes/" (see why saving there was easier, that makes it already there after compiling). Now to test your map you will need to set up a local server and change to your mode (type "changemode <your mode name>" in the server window).
In my san andreas directory I DONT have a samp folder
Please help!
Thanks.
Best Regards, Jaap Koopman.
Making a basic deathmatch
Making a basic deatchmatch in PAWN couldn't be simpler. Simply open up Pawno (see Scripting Editors) and click new. There you have it, your first script. To run it first save it (most people save it to "<San Andreas Install Directory>/samp/gamemodes/src/" but it is easier (for local testing) to save it to "<SA>/samp/gamemodes/"), then click the button on the toolbar to the immediate left of the blue arrow button. This will compile your .pwn file to a .amx in the same folder, however for the game to see it it needs to be in "<SA>/samp/gamemodes/" (see why saving there was easier, that makes it already there after compiling). Now to test your map you will need to set up a local server and change to your mode (type "changemode <your mode name>" in the server window).
In my san andreas directory I DONT have a samp folder
Please help!
Thanks.
Best Regards, Jaap Koopman.