i ended up figuring out it isnt so i decided to use Scr_GetInt but cant seem to call it correctly
Guessing you're using this for an SPRX? If so you don't use gets, that is only for getting parameters from GScr functions called in GSC scripts so not useful unless you are working with GSC Scripts directly.
Anyway, you pass it the index of the parameter you want and it fetches it from the script stack. So unless you are making functions for GSC Scripts to use, don't use them.
You can't do it like that, are you hooking the PlayerCMD_isSwitchingWeapon? Even then that wouldn't be right. Not sure if you can even get the returns from GSC functions as they don't return anything themselves, they pass there returns using Scr_Add functions.
For a function like that, you are better off recreating it. IsSwitchingWeapon pretty much works like this, just implement it: