Need help
#4

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
pawn Код:
[dUserSetINT(PlayerName2(playerid)).("level",0);
And it should look somehow like this
pawn Код:
format(query, sizeof(query), "Update table_name Set level = %d Where PlayerName = %s", level, PlayerName2(playerid));
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
Reply


Messages In This Thread
Need help - by Crazyboobs - 06.08.2012, 06:47
Re: Need help - by LetsOWN[PL] - 06.08.2012, 08:00
Re: Need help - by Crazyboobs - 06.08.2012, 10:53
Re: Need help - by LetsOWN[PL] - 06.08.2012, 11:02
Re: Need help - by Crazyboobs - 06.08.2012, 14:04

Forum Jump:


Users browsing this thread: 1 Guest(s)