26.08.2015, 21:05
Load from db table Weapons.
and
No problem with compiler not give error no warn...
Problem is, everything what is below the above code not loads everything it stops.
Sorry for my bad english
Код:
new cartrunk[4]; cartrunk[0] = playerVariables[extraid][pCarID1]; cartrunk[1] = playerVariables[extraid][pCarID2]; cartrunk[2] = playerVariables[extraid][pCarID3]; cartrunk[3] = playerVariables[extraid][pCarID4];
Код:
cache_get_field_content(0, "CarTrunk1", result); playerVariables[extraid][cTrunk1] = strval(result); sscanf( result, "p<|>iiiiiiiiiiii", tWeapon[cartrunk[0]][0], tAmmo[cartrunk[0]][0], tWeapon[cartrunk[0]][1], tAmmo[cartrunk[0]][1], tWeapon[cartrunk[0]][2], tAmmo[cartrunk[0]][2], tWeapon[cartrunk[0]][3],tAmmo[cartrunk[0]][3], tWeapon[cartrunk[0]][4], tAmmo[cartrunk[0]][4], tWeapon[cartrunk[0]][5], tAmmo[cartrunk[0]][5]);
Problem is, everything what is below the above code not loads everything it stops.
Sorry for my bad english