Problem unknown command@@@
#1

when i use this command, all command unknown
Код:
CMD:savechars(playerid, params[])
{
    if (PlayerInfo[playerid][pAdmin] >= 4) {
        SaveEventPoints();
        SaveHouses();
        SendClientMessageEx(playerid, COLOR_YELLOW, "Tat ca nha da duoc Cap Nhat Thanh Cong.");
        SaveAccountsUpdate();
		//g_mysql_DumpAccounts();
        SendClientMessageEx(playerid, COLOR_YELLOW, "Tat ca Nguoi choi da Cap Nhat Thanh Cong.");
    }
    else {
        SendClientMessageEx(playerid, COLOR_GREY, "Ban khong duoc phep su dung lenh nay.");
    }
    return 1;
}
Код:
task SaveAccountsUpdate[300000]()
{
	foreach(new i: Player) if(gPlayerLogged{i}) {
		SetPVarInt(i, "AccountSaving", 1);
		OnPlayerStatsUpdate(i);
		break; // We only need to save one player at a time.
	}
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)