Does it exist?
#1

As first I'm wondering, does it exist any admin script which let players view other players stats on a website?

I don't find it


for the second I wonder how to let people change their name colors ingame? with /yellow and then you have yellow name
Reply
#2

For stats on website, you want look players stats from your website, right?
Save the stats from any player, in mysql database and call it from your website, using PHP.

For your command /yellow, just use the function SetPlayerColor.

pawn Код:
if (strcmp("/yellow", cmdtext, true, 10) == 0)
{
    SetPlayerColor(playerid, color);
    return 1;
}
EDIT: Here is a link, for SA-MP Color Picker.
Reply
#3

It will work with MYscl and PHP as he said! ^
Reply
#4

I don't want to use mysql... I have all my files on a local computer. how to do it then? help
Reply
#5

Do you can script PHP, HTML? (HTML is there to design your website, colours etc.)
You should use fopen(), fread() in your script then.
http://php.net/manual/de/function.fopen.php
Reply
#6

whut? ATM Im talking about players stats on a website O_o

how to do it then? I have a website up running from my computer
Reply
#7

I talk already about website. fopen() opens a file in your computer. fread() reads the content of the file. So, you can open your JEkvall95.ini. But MySQL is easy to get players stats.
Reply
#8

I don't get it :S what files are you talking about? I dont even have those files. Could u please make a tutorioal or something? O_o
Reply
#9

What do you use, to save players stats and which text format?

- Dini?
- Y_INI?
- MySQL?
- etc.


- .ini
- .txt
- etc.
Reply
#10

EDIT: Im using y_ini
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)