chaoticgood 11 Posted September 1, 2013 (edited) Hello, my current script churns out an error and I don't know why. Here it is: Script.sqf player call GearReplace; "GearReplace" is a function inside of functions.sqf GearReplace = { _this removeAllWeapons; }; And finally, inside of my init.sqf execVM "functions.sqf"; execVM "Script.sqf"; This gives me an error message ingame: player call |#|gearreplace Error undefined variable in expression: gearreplace line 1 The script is supposed to remove the players weapons. Edited September 1, 2013 by chaoticgood Share this post Link to post Share on other sites
kylania 568 Posted September 1, 2013 removeAllWeapons _this Share this post Link to post Share on other sites
chaoticgood 11 Posted September 1, 2013 Thanks, I got it working. Share this post Link to post Share on other sites