Garry's Mod

Garry's Mod

449 ratings
Basic Calculator
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
File Size
Posted
Updated
1.662 MB
10 Dec, 2023 @ 9:40am
29 Dec, 2023 @ 11:50pm
5 Change Notes ( view )

Subscribe to download
Basic Calculator

Description
NOTE: its currently not working properly


Have you ever been wanting to do something in Garry´s Mod, that your operation system could do much quicker and better?
Behold! The calculator.

It´s just a SWEP to perform simple mathematical opoerations. By defualt, it only supports the following screen aspect ratios: 16:9, 16:10, 4:3, 5:4 and 21:9. You can still use the SWEP at a different aspec ratio, though it won´t be as pretty.


Simply type with your numpad or activate the mouse input with LMB and RMB to deactivate / click outside of the model.

You can adjust the input methods in the console:
calc_inputmode 0
(default) both mouse and key input
calc_inputmode 1
only key input
calc_inputmode 2
only mouse input

If you encounter any errors or bugs, please let me know.
Popular Discussions View All (1)
11
17 Dec, 2023 @ 11:40am
Game crashes
7_Words
143 Comments
MATATAN 26 Dec, 2023 @ 2:22pm 
es muy malo me genera dos errores de lua y me va lento y el juego no es el mapa
Dingus 22 Dec, 2023 @ 5:56am 
Warning to all those who see this addon, do not get it if you like ragdolling on death. The longer the addon is present, the more fucked up ragdolls from players will become until they stop appearing entirely.
gm_Redlerman16 20 Dec, 2023 @ 5:42am 
found those two errors, fix?
gm_Redlerman16 20 Dec, 2023 @ 5:42am 
[Basic Calculator] lua/weapons/weapon_calc.lua:162: attempt to index upvalue 'calcowner' (a nil value)
1. PlayerDeathFunc - lua/weapons/weapon_calc.lua:162
2. v - lua/weapons/weapon_calc.lua:170
3. unknown - lua/includes/modules/hook.lua:96
4. BlastDamageInfo - [C]:-1
5. unknown - lua/weapons/wiz_lightning_caller.lua:337


[Basic Calculator] lua/weapons/weapon_calc.lua:162: attempt to index upvalue 'calcowner' (a nil value)
1. PlayerDeathFunc - lua/weapons/weapon_calc.lua:162
2. v - lua/weapons/weapon_calc.lua:170
3. unknown - lua/includes/modules/hook.lua:96
magfan1 20 Dec, 2023 @ 12:33am 
обычный компутактор
Sykkel  [author] 19 Dec, 2023 @ 11:17am 
@NextKuromeThe76Soldier Thanks for your feedback. Appearantly the KillSilent caused issues and I may have overlooked it. But its fixed now.
Nalo 19 Dec, 2023 @ 1:41am 
U need to check if the ActiveWeapon() is valid
NextKurome76TheSoldier 18 Dec, 2023 @ 11:04am 
[Basic Calculator] lua/weapons/weapon_calc.lua:162: attempt to call method 'GetActiveWeapon' (a nil value)
1. v - lua/weapons/weapon_calc.lua:162
2. Run - lua/includes/modules/hook.lua:96
3. v - lua/weapons/weapon_calc.lua:170
4. unknown - lua/includes/modules/hook.lua:96
5. KillSilent - [C]:-1
6. unknown - lua/weapons/weapon_manimdead/shared.lua:60
Little Peep 18 Dec, 2023 @ 8:45am 
1488
Hatchets_Survival_YT 17 Dec, 2023 @ 5:05pm 
░░░░░█▐▓▓░████▄▄▄█▀▄▓▓▓▌█Help
░░░░░▄█▌▀▄▓▓▄▄▄▄▀▀▀▄▓▓▓▓▓▌█ Doge
░░░▄█▀▀▄▓█▓▓▓▓▓▓▓▓▓▓▓▓▀░▓▌█ Take
░░█▀▄▓▓▓███▓▓▓███▓▓▓▄░░▄▓▐█▌ Over
░█▌▓▓▓▀▀▓▓▓▓███▓▓▓▓▓▓▓▄▀▓▓▐█ Steam
▐█▐██▐░▄▓▓▓▓▓▀▄░▀▓▓▓▓▓▓▓▓▓▌█▌ Copy
█▌███▓▓▓▓▓▓▓▓▐░░▄▓▓███▓▓▓▄▀▐█ And
█▐█▓▀░░▀▓▓▓▓▓▓▓▓▓██████▓▓▓▓▐█ Paste
▌▓▄▌▀░▀░▐▀█▄▓▓██████████▓▓▓▌█▌
▌▓▓▓▄▄▀▀▓▓▓▀▓▓▓▓▓▓▓▓█▓█▓█▓▓▌█▌ DO IT.
█▐▓▓▓▓▓▓▄▄▄▓▓▓▓▓▓█▓█▓█▓█▓▓▓