TheRotAG submitted a new resource:
RotAG-Roubo - A Robbery system to use with Economics from Bombardir.
Read more about this resource...
Robbery
Moved
Total Downloads: 1,292 - First Release: Dec 15, 2014 - Last Update: Jan 11, 2018
- 5/5, 11 likes
-
Wulf Community Admin
-
TheRotAG updated RotAG-Roubo with a new update entry:
Wrong file uploaded...
-
TheRotAG updated RotAG-Roubo with a new update entry:
ResourceID created.
-
ATM if you jump off a cliff you don't lose money. Is it suppose to be like that?
-
TheRotAG updated RotAG-Roubo with a new update entry:
Removed unused variables.
-
You only lose money for those who killed you, but I can change the plugin to make it happen -
Can it be that you don`t get money when you kill someone who has no money?
I only ask because my players report that. -
-
Thank you Mughisi, nice to know. by the way, thank you for your outstanding plugins
-
Can this work the other way around? ie: killing costs you $
-
Well it could be. But would be called "Roubo" (Robbery). What's your sugestion dnormous? Explain it.
-
My idea is to use it as a KOS deterrent. If you want to kill the naked guy with a rock, it's going to cost you some pocket change.
This is definitely not a "robbery" type idea. So perhaps this would be better as a separate plugin. I could see this line of thought snowballing into to a pretty cool plugin for limiting KOS. Would be cool to have some conditions like who attacked first, no fines in your cupboard range, repeat offenders fined more, etc.
I wish I knew more about writing plugins! Would love to do this. My coding abilities don't stretch far beyond arduino C and beginner python.
[DOUBLEPOST=1424288981,1424280308][/DOUBLEPOST]TheRotAG, would it be ok if I branch off your plugin as a starter for my death fee idea? I think I'm close to making it work (see the uploaded file).Attached Files:
-
-
when you kill yourself it gives you money saying you robbed your name.....
players exploiting.. -
I'll remove the message, but it doesn't give you more money. It says it gave you the same amount that you had before without duplicating your money.
Last edited by a moderator: Feb 27, 2015 -
TheRotAG updated RotAG-Roubo with a new update entry:
Minor fix about suicide messages
-
You forgot to change the version in the file too: "PLUGIN.Version = V(1, 1, 1)"
-
-
TheRotAG updated RotAG-Roubo with a new update entry:
Wrong file uploaded last time
-
[Oxide] 7:22 PM [Error] LuaScriptException while calling OnEntityDeath:
File: RotAG-Roubo.lua Line: 57 attempt to index global 'sets' (a nil value):
at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 -