Black Rose i want to use method 2.
The "binary" is too much to me
I've putted this(below) and works. How can i remove if the player change the usp model? (set g_HasuspP false again)
Code:
g_HasuspP[iIndex] = str_to_num(szWpn) ? true : false;
To save multiple guns how can i made?
Code:
SaveData(id)
{
new szAuthId[35];
get_user_authid(id, szAuthId, sizeof(szAuthId));
new szWpnKey[33];
format(szWpnKey, sizeof szWpnKey, "%s", szAuthId);
new szWpn[25];
num_to_str(g_HasuspP[id], szWpn, sizeof szWpn);
num_to_str(g_Hasglockrdlam[id], szWpn, sizeof szWpn);
num_to_str(g_Hasuspchip[id], szWpn, sizeof szWpn);
fvault_set_data(VAULT_NAME, szWpnKey, szWpn);
}