I have been trying to make a right click option for pistols, I want to be able to switch to the pistol by right clicking it. I have tried many different ways but nothing has worked. I could use some help. I thought that i could use this syntax.
Private ["_Current","_Secondary"] _Current = currentWeapon player; _Secondary = secondaryWeapon player; if ((_Current) != _Secondary) then {player selectWeapon _Secondary;} else { //Whatever else here }
Any info on this subject is needed. Thanks in advance. I have looked and looked for workarounds for this but have came up short every time.
FYI, I have all of the right click scripts installed on my server, I can get scripts to run via the right click menu, I just need help with this particular coding.
Edited by Zelik