08.06.2016, 16:21
When you post a code on the forum do it like this
PHP код:
PHP код:
public LoadAccount(playerid) {
new rows, fields,string[128];
cache_get_data(rows, fields, mysql);
if(rows) {
cache_get_field_content(0, "Password", PlayerInfo[playerid][Password], mysql, 200);
cache_get_field_content(0, "RDate", PlayerInfo[playerid][RDate], mysql, 12;
PlayerInfo[playerid][Level] = cache_get_field_content_int(0, "Level");
cache_get_field_content(0, "IP", PlayerInfo[playerid][PIP], mysql, 50);
if(ServerInfo[AccountSecurity] == 1) {
cache_get_field_content(0, "SecurityQ", PlayerInfo[playerid][SQuestion], mysql, 250);
cache_get_field_content(0, "SecurityQA", PlayerInfo[playerid][SQuestionA], mysql, 250);
}