[FS + PHP + SDK] SampSt2 v0.2
#1

SampSt2 v0.2
Install:
1) Copy all files from a directory samp_serv in a folder with a server.
2) Add in server.cfg filterscript dom.
Now you server.cfg should appear approximately so:
Code:
echo Executing Server Config...
lanmode 0           
rcon_password rcon      
maxplayers 32       
port 7777        
hostname FarCry Madness  
gamemode0 mod 1  
filterscripts dom 
announce 0       
query 1         
weburl www.sa-mp.com
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.
SDK
Example mudule: DriveBy
Download: http://www.sendspace.com/file/1yg6fn
Pawno
SAddPlayerKills(playerid, killid); Adds to the player 1 murder. killid - the reason of murder
SAddPlayerDeaths(playerid, deathid); Adds to the player 1 death. deathid - the reason of death
SCreatePlayerAccount(playerid); Creates an account for the player
SWriteDateTime(playerid); Writes down to the player today's date and current time
SSaveMoney(playerid); Writes down amount of money
SWriteIntP(playerid, key[], value); Writes parameter int on ID the player
SWriteStrP(playerid, key[], value[]); Writes parameter String on ID the player
SReadIntP(playerid, key[]); Returns parameter int on ID the player
SReadStrP(playerid, key[]); Returns parameter String on ID the player
SWriteInt(str[], key[], value); Writes parameter int named the player
SWriteStr(str[], key[], value[]); Writes parameter String on ID the player
SReadInt(str[], key[]); Returns parameter int named the player
SReadStr(str[], key[]); Returns parameter String named the player
SDelKeyP(playerid, key[]); Deletes a line from a file of statistics of the player
SAccountExists(playerid); Checks existence of an account
SGetAccountStr(playerid); Returns a way to an account of the player
PHP
SReadKey($player, $key); Returns parameter named the player

Download SampSt2 v0.2: http://sampst.delux-host.com/files/SampSt2_v02.rar
Download SampSt2 v0.1: http://www.sendspace.com/file/9lia84
For transition from version 0.1 it is enough to replace web a part of statistics
on MySQL: http://forum.sa-mp.com/index.php?topic=47016.0
Example: http://gtacrime.ru/sampst/index.php
Web site: http://sampst.delux-host.com/
Reply
#2

Hey really nice man
Reply
#3

Hey )
Reply
#4

Do you have msn because i upload it to freewebs but dont know what to do then?
Reply
#5

What? Ты выпил?
Reply
#6

Hello, Heres a Preview of it

Here
Reply
#7

Quote:
Originally Posted by iCe[DragSta
]
Hello, Heres a Preview of it

Here
ok

this is mine but i want it english and it doesnt work
Reply
#8

Are you sure? it works fine for me :S
Reply
#9

Quote:
Originally Posted by iCe[DragSta
]
Are you sure? it works fine for me :S
you could help me if you want
Reply
#10

The server SA-MP should be on the same computer, where there is a statistics!!!! All in stats work!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)