I have a script at home, if you wait till 3 my time. (it's 12:58 right now) I'll PM it to you when I'm home. Double Post Merge: October 11, 2016, 09:16:52 amI might as well share it here:
Code Snippet
Plaintext
function MaxAmmo() { trigger = GetEnt("maxammo_trigger", "targetname"); trigger SetHintString("Press ^3&&1^7 for max ammo."); // Changes the string that shows when looking at the trigger. trigger SetCursorHint("HINT_NOICON"); // Changes the icon that shows when looking at the trigger. trigger1cost = 4500;
I have a script at home, if you wait till 3 my time. (it's 12:58 right now) I'll PM it to you when I'm home. Double Post Merge: October 11, 2016, 09:16:52 amI might as well share it here:
Code Snippet
Plaintext
function MaxAmmo() { trigger = GetEnt("maxammo_trigger", "targetname"); trigger SetHintString("Press ^3&&1^7 for max ammo."); // Changes the string that shows when looking at the trigger. trigger SetCursorHint("HINT_NOICON"); // Changes the icon that shows when looking at the trigger. trigger1cost = 4500;