03.04.2017, 16:49
PHP Code:
format(str, sizeof(str), "INSERT INTO `profile` (`name`, `password`, `password2`, `salt`, `ipreg`, `iplocal`, `datetime`, `admin`, `admintime`, `vip`, `viptime`, `muted`, `prison`, `freeze`, `level[0]`, `level[1]`, `deaths`, `kills`, `money`, `timegame[0]`, `timegame[1]`, `timegame[2]`, `timegame[3]`, `spawnkill[0]`, `spawnkill[1]`, `spawnprav`, `visits`, `yourskin[0]`, `yourskin[1]`) VALUES ('%s', '%s', '0', '%s', '%s', '%s', '%s', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', '30000', '350', '0', '0', '0', '5', '0', '3', '0', '1', '0')", PlayerName[playerid], inputtext, PlayerInfo[playerid][pSalt], PlayerIp[playerid], PlayerIp[playerid], slot)
mysql_tquery(MysqlConnectID, str, "OnPlayerRegister", "d", playerid);