• Pro Lockpick SWEP
    4 replies, posted
I've tried both of these... and they both give me errors like below. [url]http://www.garrysmod.org/downloads/?a=view&id=118302[/url] [url]http://www.garrysmod.org/downloads/?a=view&id=134139[/url] You created ent fastlockpick [ERROR] gamemodes/darkrp/entities/weapons/fastlockpick/shared.lua:77: attempt to call global 'ValidEntity' (a nil value) 1. unknown - gamemodes/darkrp/entities/weapons/fastlockpick/shared.lua:77 ----------------------------------- You created ent pro_lockpick [ERROR] gamemodes/darkrp/entities/weapons/pro_lockpick/shared.lua:78: attempt to call method 'IsDoor' (a nil value) 1. unknown - gamemodes/darkrp/entities/weapons/pro_lockpick/shared.lua:78 Any ideas on how I can fix these or does anyone have these working? Thank you.
Make a duplicate of the current one in the DarkRP gamemode, rename it to lockpick_pro and modify it to have a smaller lockpick time.
[QUOTE=Mors Quaedam;44512956]Make a duplicate of the current one in the DarkRP gamemode, rename it to lockpick_pro and modify it to have a smaller lockpick time.[/QUOTE] Wow, Im a genius haha. Thank you! [editline]11th April 2014[/editline] [QUOTE=Mors Quaedam;44512956]Make a duplicate of the current one in the DarkRP gamemode, rename it to lockpick_pro and modify it to have a smaller lockpick time.[/QUOTE] So I tried doing this with the keypad_cracker too.. and for some reason I am getting this for the pro_keypad_cracker when i try to use it.. but the original one works fine? [ERROR] gamemodes/darkrp/entities/weapons/pro_keypad_cracker/shared.lua:62: attempt to call global 'ValidEntity' (a nil value) 1. unknown - gamemodes/darkrp/entities/weapons/pro_keypad_cracker/shared.lua:62 [ERROR] gamemodes/darkrp/entities/weapons/pro_keypad_cracker/shared.lua:62: attempt to call global 'ValidEntity' (a nil value) 1. unknown - gamemodes/darkrp/entities/weapons/pro_keypad_cracker/shared.lua:62
ValidEntity isnt used anymore and should be IsValid()
How do I modify the lockpick? Sorry, I'm new to stuff like this.
Sorry, you need to Log In to post a reply to this thread.