[FS + PHP + MySQL] SampSTM v1.0
#1

SampSTM v0.1
Install:
1) Copy all files from a directory samp_serv in a folder with a server.
2) Add in server.cfg filterscript domMy.
2) Add in server.cfg plugin sampmysql.
Now you server.cfg should appear approximately so:
Код:
echo Executing Server Config...
lanmode 0           
rcon_password rcon      
maxplayers 32       
port 7777        
hostname FarCry Madness  
gamemode0 mod 1  
filterscripts domMy
announce 0       
query 1         
weburl www.sa-mp.com 
plugins sampmysql
3) Copy all files from a directory web in your web a server.
4) Open a file conf/config.php, and adjust him according to helps.
Код:
<?
$name_serv = "Stats"; //Name Serv
$ip_serv = "127.0.0.1"; //IP Serv
$port_serv = "7777"; //Port Serv
$servopis = "1";
$servrules = "1";
$servnews = "1";
$db_location = '127.0.0.1'; //MySQL Server
$db_name = 'domm'; //DB Name
$db_user = 'root'; //MySQL User
$db_passwd = ''; //MySQL password
//-------------------------------------------------------------
$dbcnx = mysql_connect($db_location, $db_user, $db_passwd);
if(!$dbcnx)
{
 echo "Error whis MySQL(Connect)";
 exit();
}
if(!mysql_select_db($db_name, $dbcnx))
{
 echo "Error whis MySQL(select)";
 exit();
}
?>
5) Open a file scriptfiles\SampSTM.ini(SA-MP Serv), and adjust him according to helps.
6) Execute MySQL inquiry containing in file SQL.txt on yours MySQL a server
on files: http://forum.sa-mp.com/index.php?topic=23380.0
on files FTP: http://forum.sa-mp.com/index.php?topic=47213.0
Download SampSTM: http://www.sendspace.com/file/z7b8vn
Reply


Messages In This Thread
[FS + PHP + MySQL] SampSTM v1.0 - by Delit - 11.03.2008, 12:29
Re: [FS + PHP + MySQL] SampSTM v1.0 - by Chumillas - 11.03.2008, 14:08
Re: [FS + PHP + MySQL] SampSTM v1.0 - by Ziggke - 11.03.2008, 14:39
Re: [FS + PHP + MySQL] SampSTM v1.0 - by **HITMEN** - 11.03.2008, 14:54
Re: [FS + PHP + MySQL] SampSTM v1.0 - by [M]deLux - 11.03.2008, 17:18
Re: [FS + PHP + MySQL] SampSTM v1.0 - by Delit - 12.03.2008, 19:13
Re: [FS + PHP + MySQL] SampSTM v1.0 - by paike - 12.03.2008, 22:48
Re: [FS + PHP + MySQL] SampSTM v1.0 - by Delit - 13.03.2008, 03:18
Re: [FS + PHP + MySQL] SampSTM v1.0 - by Delit - 17.03.2008, 16:19
Re: [FS + PHP + MySQL] SampSTM v1.0 - by Anwix - 30.03.2008, 17:02
Re: [FS + PHP + MySQL] SampSTM v1.0 - by peterspliid - 28.05.2008, 12:32
Re: [FS + PHP + MySQL] SampSTM v1.0 - by [M]deLux - 28.05.2008, 20:23
Re: [FS + PHP + MySQL] SampSTM v1.0 - by SEC - 29.05.2008, 10:55
Re: [FS + PHP + MySQL] SampSTM v1.0 - by BiTTRaFFiC - 30.05.2008, 08:24
Re: [FS + PHP + MySQL] SampSTM v1.0 - by simonepro - 01.07.2008, 03:40
Re: [FS + PHP + MySQL] SampSTM v1.0 - by Kyosaur - 01.07.2008, 05:40
Re: [FS + PHP + MySQL] SampSTM v1.0 - by aha - 01.07.2008, 07:28
Re: [FS + PHP + MySQL] SampSTM v1.0 - by dextervip - 18.07.2008, 02:21
Re: [FS + PHP + MySQL] SampSTM v1.0 - by [IB]Scorcher - 18.07.2008, 04:29
Re: [FS + PHP + MySQL] SampSTM v1.0 - by flakey - 18.07.2008, 19:57
Re: [FS + PHP + MySQL] SampSTM v1.0 - by ranjotthebest - 19.07.2008, 00:52
Re: [FS + PHP + MySQL] SampSTM v1.0 - by Greyae - 20.06.2009, 16:06

Forum Jump:


Users browsing this thread: 1 Guest(s)