01.10.2017, 14:30
PHP код:
new handle = SQL::Open(SQL::UPDATE, "inv", "Name", GetName(playerid));
Use SQL::OpenEx
PHP код:
new handle = SQL::OpenEx(SQL::READ, "players", "p_name", ret_pName(playerid));
SQL::ReadString(handle, "p_password", UserInfo[playerid][p_password], 64);
SQL::ReadInt(handle, "p_id", UserInfo[playerid][p_id]);
SQL::Close(handle);