#2

I think that mysql_format should be better, isnt it?
Код:
forward OnAccountRegister(playerid);

new query[200];
mysql_format(mysql, query, sizeof(query), "INSERT INTO `jucatori` (`nume`, `parola`, `IP`, `Admin`, `VIP`, `Money`, `PosX` ,`PosY`, `PosZ`) VALUES ('%e', '%s', '%s', 0, 0, 0, 0.0, 0.0, 0.0)", GetName(playerid), PlayerInfo[playerid][pPassword], IP[playerid]);

mysql_tquery(mysql, query, "OnAccountRegister", "d", playerid);

public OnAccountRegister(playerid)
{
 //your code here
 return 1;
}
Reply


Messages In This Thread
help - by Ax3l123 - 26.04.2016, 06:41
Re: help - by BloodyRP - 26.04.2016, 06:49

Forum Jump:


Users browsing this thread: 1 Guest(s)