Please help Pickpocket swep Returning money on death
5 replies, posted
Ive looked everywhere for a solution and I feel like I tried everything. I need a couple things, first I need something that makes it so if you pickpocket and you die, the money gets refunded to that player, second I need it so that can only be true for, lets say 1 minute, then after 1 minute the money refund is no longer valid. Lastly I have a 2 minute cooldown on pickpocketing so I need a simple notification that says you have to wait the CD time if you left click with the swep out. if someone can come up with those functions for me that would be really helpful. Here is a snippet of the swep so far [URL="http://pastebin.com/X1Yk49bm"]http://pastebin.com/X1Yk49bm[/URL]
So you searched "How to make a pickpocket system that returns the money you stole to player when you die"?
Code it by yourself, learn about hooks, learn about functions, try to learn, stop using the damn excuse about "I've looked everywhere"
[QUOTE=dankthetank;51118715]Ive looked everywhere for a solution and I feel like I tried everything. I need a couple things, first I need something that makes it so if you pickpocket and you die, the money gets refunded to that player, second I need it so that can only be true for, lets say 1 minute, then after 1 minute the money refund is no longer valid. Lastly I have a 2 minute cooldown on pickpocketing so I need a simple notification that says you have to wait the CD time if you left click with the swep out. if someone can come up with those functions for me that would be really helpful. Here is a snippet of the swep so far [URL="http://pastebin.com/X1Yk49bm"]http://pastebin.com/X1Yk49bm[/URL][/QUOTE]
[url]https://facepunch.com/showthread.php?t=1535605[/url]
Don't repost the same thing
We're not going to spoon feed you buddy , its easy just do what Blinkenn Suggested in your other thread.
[QUOTE=Blinkenn;51116223]Create a function and connect it to a gm playerdeath hook
after pickpocket create a minute timer on the player
if the player's timer still exists on death, give back the money
try that.[/QUOTE]
[QUOTE=Blinkenn;51118781][url]https://facepunch.com/showthread.php?t=1535605[/url]
Don't repost the same thing[/QUOTE]
I lost the link to that forum so I reposted my bad. But thank you I will try to do what u suggested
[editline]27th September 2016[/editline]
[QUOTE=Fresh~;51118911]We're not going to spoon feed you buddy , its easy just do what Blinkenn Suggested in your other thread.[/QUOTE]
I see you had a tough day in school?
We're trying to help you but you have to make some effort at least try and do what Blinkenn said, then when you get the problems we will solve them..
Sorry, you need to Log In to post a reply to this thread.