Doesn't give weapons
#1

Код:
for(new z = 0; z < 12; z++)
            {
                new q[128], qq[128];
                format(q, sizeof(q), "Weapon%d", z);
                format(qq, sizeof(qq), "Weapona%d", z);
                PlayerData[playerid][Weapon][z] = cache_get_field_content_int(i, q, Mysql_users);
                PlayerData[playerid][Weapona][z] = cache_get_field_content_int(i, qq, Mysql_users);
                GivePlayerWeapon(playerid, PlayerData[playerid][Weapon][z], PlayerData[playerid][Weapona][z]);
            }
MYSQL_LOG
Код:
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapon0", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapon0", data: "0"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapona0", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapona0", data: "0"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapon1", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapon1", data: "24"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapona1", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapona1", data: "1509"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapon2", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapon2", data: "27"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapona2", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapona2", data: "1595"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapon3", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapon3", data: "34"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapona3", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapona3", data: "5645"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapon4", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapon4", data: "0"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapona4", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapona4", data: "0"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapon5", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapon5", data: "0"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapona5", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapona5", data: "0"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapon6", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapon6", data: "0"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapona6", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapona6", data: "0"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapon7", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapon7", data: "0"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapona7", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapona7", data: "0"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapon8", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapon8", data: "0"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapona8", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapona8", data: "0"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapon9", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapon9", data: "0"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapona9", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapona9", data: "0"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapon10", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapon10", data: "0"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapona10", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapona10", data: "0"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapon11", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapon11", data: "0"
[08:26:31] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Weapona11", connection: 1
[08:26:31] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Weapona11", data: "0"
but if im logged doesn't give weapons
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)