Car Theft

CarTheft v1.0 By [NL]Mox 2008

This is my first SA:MP gamemode. Enjoy! Please send bugreports to samp at mox.designt.nl
Cartheft is a team-based CTF type gameplay.
Each team has a garage filled with cars they cannot enter.
The other team can enter these cars and steal them by driving them to a checkpoint.
Money and points are awarded for car-steals (depending on the cars health) or defensive actions.
Weapons or vehicles can be bought using the /buy command.


Known bugs:
    Copyright (C) 2008 Jesper Jeeninga

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see http://www.gnu.org/licenses/.
Click here for some screenshots.

Please Donate!
Download (released under GPL): Servers known to be running CarTheft:
130.89.175.45:7777 [SNT] CarTheft 0.2X Server 1
130.89.175.45:7778 [SNT] CarTheft 0.2X Server 2
Servers by games.snt.utwente.nl

Samp Registration via FTP

SampRegFtp v1.0 By [NL]Mox 2008

This is a php file that allows registration and write scriptfiles via ftp for SA:MP gamemodes.
Tested with the godfather script, but will probably also be usefull for your own gamemodes where you register people using the scriptfiles.
Just copy SampRegFtp to a webdir on your server and edit the php file with your settings.

    Copyright (C) 2008 Jesper Jeeninga

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see http://www.gnu.org/licenses/.
To install, copy the php file to your website.
Edit the php file and change the values to your wishes.
You will need to edit the following lines:
$ftp_server = "your.ftp.server.name.here";
$ftp_port = 21;
$ftp_user_name = "user";
$ftp_user_pass = "password";
$ftp_remote_dir = "samp/scriptfiles"; //the path to the scriptfiles dir, starting in the ftp home directory

$local_tmp_dir = ""; //You should be allowed to write here! for linux try "/tmp/". Default is the current execution directory.
For disabeling the server-side registration on the godfather script, see below.

Please Donate!
Download (released under GPL):

Samp Registration

SampReg v1.0 By [NL]Mox 2008

This is a java program that allows an external client to connect and write scriptfiles for SA:MP gamemodes.
Tested with the godfather script, but will probably also be usefull for your own gamemodes where you register people using the scriptfiles.
Just run SampReg on your server and allow one website to register usernames for your gamemode.

    Copyright (C) 2008 Jesper Jeeninga

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see http://www.gnu.org/licenses/.
To install, copy the jar and cfg file to your samp directory.
Edit config.cfg and change the values to your wishes. (default settings should work with the godfather script).
Start the jar (windows can dubbleclick, nothing will be displayed, but the server will start as a daemon).
If you want to see the output, use: java -jar sampreg.jar to start the daemon.
You will need JAVA for this.

Now you can register via a website which allows a tcp connection. As a php example register.php is added to the source for your convenience.
Just edit the file to fit your website and let users register live for your SA:MP server.
(you will need to edit the $server = "your.samp.server.hostname.here"; line to match your server ip or hostname)
Your webserver will need to be allowed to use php sockets.

Please Donate!
Download (released under GPL): To remove registering via the godfather script, open gf.pwn with pawn and add the following code on lines 9195 and 9196.
			SendClientMessage(playerid, COLOR_WHITE, "SERVER: You will need to register via our website!");
			return 1;
A complete snippet how it should look like:
	if (strcmp(cmd, "/register", true) ==0 )
	{
			SendClientMessage(playerid, COLOR_WHITE, "SERVER: You will need to register via our website!");
			return 1;
	    if(IsPlayerConnected(playerid))
	    {
	        if(gPlayerLogged[playerid] == 1)
			{
				SendClientMessage(playerid, COLOR_WHITE, "SERVER: You are already logged in.");
				return 1;
			}
(etc) Compile the script and use the amx for your server.

Samp Files

Here is a mirror for all the San Andreas Multiplayer Files:

Client
San Andreas Multiplayer Client 0.2X
You will need this to play San Andreas Multiplayer. Install this next to your existing GTA:SA v1.00 US/EU. (this will not work with 2.0)
Windows Server 0.2X
Use this to set up a dedicated windows server.
Linux Server 0.2X
Use this to set up a dedicated linux server.

Also check out the SA-MP Website