Hello, and thank you! I need help(I imagine its with Lua)How to make a designated spot for weapons to spawn on a schedule, and the player has to press their use key to pick it up, they can't just run over it to pick it up.(Same with ammo boxes, but I imagine the same principles will apply) Please help.
Returning false in a PlayerCanPickupWeapon function/hook will make them not be able to pick up a weapon upon walking over, but I can't remember if it interferes with calling entity:Give("weapon_whatever")
[QUOTE=NiandraLades;49346578]Returning false in a PlayerCanPickupWeapon function/hook will make them not be able to pick up a weapon upon walking over, but I can't remember if it interferes with calling entity:Give("weapon_whatever")[/QUOTE]
Niandra I love your work, I even use your MOTD on my server, and okay thanks, i'll try that.
[editline]19th December 2015[/editline]
[QUOTE=NiandraLades;49346578]Returning false in a PlayerCanPickupWeapon function/hook will make them not be able to pick up a weapon upon walking over, but I can't remember if it interferes with calling entity:Give("weapon_whatever")[/QUOTE]
It worked, thank you! If you're not too busy, perhaps you can service me further. I need a Inventory system, can you point in the direction I need to go to get started?
[QUOTE=Breadcat105;49346633]Niandra I love your work, I even use your MOTD on my server, and okay thanks, i'll try that.
[editline]19th December 2015[/editline]
It worked, thank you! If you're not too busy, perhaps you can service me further. I need a Inventory system, can you point in the direction I need to go to get started?[/QUOTE]
This should help [url]https://wiki.garrysmod.com/page/Grid-Based_Inventory_System[/url]
[QUOTE=Stalinalive;49348064]This should help [url]https://wiki.garrysmod.com/page/Grid-Based_Inventory_System[/url][/QUOTE]
I followed the tutorial, and have the code, but have no idea how to use it. Any suggestions?
[QUOTE=Breadcat105;49350134]I followed the tutorial, and have the code, but have no idea how to use it. Any suggestions?[/QUOTE]
This is not a full inventory system.
Sorry, you need to Log In to post a reply to this thread.