this is bendir ...This is the old one if that is what you mean.
Code:
if(PlayerPtr != 0){
*(DWORD*)(PlayerPtr+OFS_Weapon_1_here) = index_of_your_weapon;
*(DWORD*)(PlayerPtr+OFS_Weapon_2_here) = index_of_your_weapon;
*(DWORD*)(PlayerPtr+OFS_Weapon_3_here) = index_of_your_weapon;}