Lua bug (?)
Deleted User1
if not player(id, 'weapontype') == 74 then return end
So after this line, the function will work only if wrench is equipped on the player
but the function is working even if I'm holding knife!
And then I tried
1
if player(id, 'weapontype') == 74 then else return end
And function worked well! Why?!