04.01.2015, 20:56
Prueba asн:
no se que mysql usas pero tenнas la consulta mal, te recomiendo usar mysql r7.
Quote:
stock MySQL_Register(playerid, passwordstring[]) { new Query[512], IP[16]; GetPlayerIp(playerid, IP, sizeof(IP)); format(Query,"INSERT INTO `players`(`Username`,`Senha`) VALUES ('%s', SHA1('%s'))"); mysql_format(ConnectSQL,Query,sizeof(Query),Query, PlayerName(playerid),passwordstring); mysql_query(ConnectSQL,Query,false); Logado[playerid] = 1; GivePlayerMoney(playerid, 5000); return 1; } |