21.08.2012, 01:48
I need a help with MySQL, i have a problem in converting a script to MySQL
How can i convert this script to mysql?
example like this? idk
Really i need this help cuz if this is done then only the other things will be move on.
So please help me.
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;}
pawn Код:
mysql_fetch_field_row(savingstring, "death");
So please help me.