SA-MP Forums Archive
[FS + PHP + SDK] SampSt2 v0.2 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FS + PHP + SDK] SampSt2 v0.2 (/showthread.php?tid=6559)



[FS + PHP + SDK] SampSt2 v0.2 - Delit - 11.07.2007

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/


Re: [FS + PHP] SampSt - MaTrIx4057 - 11.07.2007

Hey really nice man


Re: [FS + PHP] SampSt - Delit - 11.07.2007

Hey )


Re: [FS + PHP] SampSt - Invisible - 11.07.2007

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


Re: [FS + PHP] SampSt - Delit - 11.07.2007

What? Ты выпил?


Re: [FS + PHP] SampSt - domidom - 11.07.2007

Hello, Heres a Preview of it

Here


Re: [FS + PHP] SampSt - Invisible - 11.07.2007

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


Re: [FS + PHP] SampSt - domidom - 11.07.2007

Are you sure? it works fine for me :S


Re: [FS + PHP] SampSt - Invisible - 11.07.2007

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


Re: [FS + PHP] SampSt - Delit - 11.07.2007

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