Hello!
Can i get hungermod for DarkRP 2.5? It seems cook is kinda useless without hungermod D:
[QUOTE=Niskuo;42641192]Hello!
Can i get hungermod for DarkRP 2.5? It seems cook is kinda useless without hungermod D:[/QUOTE]
If I remember right, hungermod is already in DarkRP. Check the config in it.
[QUOTE=Nookyava;42641225]If I remember right, hungermod is already in DarkRP. Check the config in it.[/QUOTE]
Well, i didn't find anything... Would be nice if someone would tell me the directory or something.
Btw, do you know why is this giving errors:
[CODE]TEAM_SECURITY = AddExtraTeam("security",
color = Color(51, 255, 255, 255),
model = "models/player/odessa.mdl",
description = [[You protect people for money]].,
weapons = {stunstick, m9k_m92beretta},
command = "security",
max = 4,
salary = 45,
admin = 0,
vote = false,
hasLicense = true,[/CODE]
[QUOTE=Niskuo;42641407]Well, i didn't find anything... Would be nice if someone would tell me the directory or something.
Btw, do you know why is this giving errors:
[CODE]TEAM_SECURITY = AddExtraTeam("security",
color = Color(51, 255, 255, 255),
model = "models/player/odessa.mdl",
description = [[You protect people for money]].,
weapons = {stunstick, m9k_m92beretta},
command = "security",
max = 4,
salary = 45,
admin = 0,
vote = false,
hasLicense = true,[/CODE][/QUOTE]
It errors because there's a "." behind the "for money]]" part
[editline]25th October 2013[/editline]
Also unless stunstuck and m9k_m82something are variables they should be between "" (because then they would be strings).
I think you also meant the second argument to AddExtraTeam to be a table, in which case you put the code between {}.
[lua]
{ key = value, etc... }
[/lua]
[editline]25th October 2013[/editline]
And if you explain what exactly a hungermod is maybe we can help you. If it's something very specific for DarkRP configuration, this is not the right place to ask.
Can you make a example of that stunstuck and m9k_m82something thing, my english is too bad to understand what are you trying to say :s
You have this line
[lua]
weapons = {stunstick, m9k_m92beretta},
[/lua]
I think you meant this, cause you probably mean to create a table of classnames there.
[lua]
weapons = {"stunstick", "m9k_m92beretta"},
[/lua]
Unless, of course, you have something like this done earlier in your file
[lua]
local stunstuck = Stunstick() -- or something else defining stunstick
[/lua]
[editline]25th October 2013[/editline]
For more info on tables in Lua
[url]http://lua-users.org/wiki/TablesTutorial[/url]
Thanks alot! :)
[editline]25th October 2013[/editline]
Now im getting this:
[url]http://aijaa.com/bMi1mI[/url]
Sorry, you need to Log In to post a reply to this thread.