Okay. Thanks for uploading this video!
Here is the better code (I NEVER WORKED WITH THE ADDHOOK "WALKOVER"!!!) lol. If anyone else see that: You can help it too!
If you pickup a primary weapon (AK) and have already a M4A1 you can pick up!
No matter whether you have an prim already!
New code:
addhook("walkover","unlimitwpn")
function unlimitwpn(id,iid,type,ain,a,mode)
parse("equip "..id.." "..type) -- Equip player with weapon
parse("removeitem "..type) -- remove the weapon!
end
Hellofriend12341 5 months ago
Okay. Thanks for uploading this video!
Here is the better code (I NEVER WORKED WITH THE ADDHOOK "WALKOVER"!!!) lol. If anyone else see that: You can help it too!
If you pickup a primary weapon (AK) and have already a M4A1 you can pick up!
No matter whether you have an prim already!
New code:
addhook("walkover","unlimitwpn")
function unlimitwpn(id,iid,type,ain,a,mode)
parse("equip "..id.." "..type) -- Equip player with weapon
parse("removeitem "..type) -- remove the weapon!
end
Hellofriend12341 5 months ago