06.08.2012, 11:02
So as above.
If you have created & connected to MySQL db, you can perform queries which will add values into columns/tables.
If you need help with MySQL database, head over here:
https://sampwiki.blast.hk/wiki/MySQL
If you'll have basic knowlege of MySQL (or if you have already), then you can create query to mysql base from
And it should look somehow like this
or somethink like this. I dunno how You have wroten your script, so from this level it is all what I can say to you.
Maybe someone other here will guide you better.
Greetz,
LetsOWN
If you have created & connected to MySQL db, you can perform queries which will add values into columns/tables.
If you need help with MySQL database, head over here:
https://sampwiki.blast.hk/wiki/MySQL
If you'll have basic knowlege of MySQL (or if you have already), then you can create query to mysql base from
pawn Код:
[dUserSetINT(PlayerName2(playerid)).("level",0);
pawn Код:
format(query, sizeof(query), "Update table_name Set level = %d Where PlayerName = %s", level, PlayerName2(playerid));
Maybe someone other here will guide you better.
Greetz,
LetsOWN