SA-MP Forums Archive
Help... - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help... (/showthread.php?tid=370726)



Help... - P<3TS - 21.08.2012

I need a help with MySQL, i have a problem in converting a script to MySQL
How can i convert this script to mysql?

pawn Код:
LoginPlayer(playerid){
    if(ServerInfo[GiveMoney] == 1) {ResetPlayerMoney(playerid); GivePlayerMoney(playerid, dUserINT(PlayerName2(playerid)).("money") ); }
    if(ServerInfo[SetScore] == 1) SetPlayerScore(playerid, dUserINT(PlayerName2(playerid)).("score") );
    dUserSetINT(PlayerName2(playerid)).("loggedin",1);
    PlayerInfo[playerid][Deaths] = (dUserINT(PlayerName2(playerid)).("deaths"));
    PlayerInfo[playerid][Kills] = (dUserINT(PlayerName2(playerid)).("kills"));
    PlayerInfo[playerid][Level] = (dUserINT(PlayerName2(playerid)).("level"));
    PlayerInfo[playerid][Registered] = 1;
    PlayerInfo[playerid][LoggedIn] = 1;}
example like this? idk

pawn Код:
mysql_fetch_field_row(savingstring, "death");
Really i need this help cuz if this is done then only the other things will be move on.
So please help me.


Re: Help... - P<3TS - 21.08.2012

help...


Re: Help... - Sig Hansen - 21.08.2012

Quote:
Originally Posted by P<3TS
Посмотреть сообщение
help...
Helpers are helping but alot of people including me needs help so chill dont worry helpers wont miss it


Re: Help... - Crazyboobs - 21.08.2012

I also needed the same help..