Well i created a custom job and i need this server to be fixed by 4 hours need someone to respond asap !!! This is my custom Job for militaryrp---TEAM_ISIS = DarkRP.createJob("ISIS Soldier", {
color = Color( 37,14,240, 255),
model = {models/player/guerilla.mdl},
description = [[Allah Bless , Welcome ISIS Soldier, Kill all enemies, gays, Christians , Americans !!!!]],
weapons = {m9k_ak47, m9k_machete},
command = "isis_1",
max = 10,
salary = 100,
admin = 0,
vote = true,
hasLicense = false,
-- Insert customCheck here if you have one and want one.
})
AND THIS IS MY ERROR
There is 1 Lua problem!
Please check your console for more information!
[ERROR] A runtime error has occurred in "addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua" on line 23.
The best help I can give you is this:
attempt to perform arithmetic on global 'models' (a nil value)
Hints:
- No hints, sorry.
The responsibility for this error lies with (the authors of) one (or more) of these files:
1. addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua on line 23
2. gamemodes/darkrp/gamemode/libraries/fn.lua on line 80
3. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 119
4. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 129
5. addons/ulib/lua/ulib/shared/hook.lua on line 184
6. gamemodes/darkrp/gamemode/init.lua on line 81
------- End of Simplerr error -------
Custom Job Lua Error Respond ASAP !!!
-
- New to forums
- Posts: 5
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Wed Mar 04, 2015 9:07 pm
Re: Custom Job Lua Error Respond ASAP !!!
Honestly with a server description like that I doubt anyone here is going to want to help you. If anything I really hope you get banned from the forums.
Re: Custom Job Lua Error Respond ASAP !!!
Wow that's messed up I didnt do anything wrong, Im asking Politley
-
- This is my homepage
- Posts: 200
- Joined: Wed Feb 19, 2014 6:07 pm
- Location: Dallas, TX
Re: Custom Job Lua Error Respond ASAP !!!
What is the code on line 23?
Re: Custom Job Lua Error Respond ASAP !!!
This one right here :
model = {models/player/guerilla.mdl},
It's the Playermodel for the Job
model = {models/player/guerilla.mdl},
It's the Playermodel for the Job
-
- This is my homepage
- Posts: 200
- Joined: Wed Feb 19, 2014 6:07 pm
- Location: Dallas, TX
Re: Custom Job Lua Error Respond ASAP !!!
Lol, there is alot wrong with your jobs code, here try this
Code: Select all
TEAM_ISIS = DarkRP.createJob("ISIS Soldier",{
color = Color( 37, 14, 240, 255),
model = "models/player/guerilla.mdl",
description =[[Allah Bless, Welcome ISIS
Soldier, Kill all enemies, gays, Christians,
Americans!!!!]],
weapons ={"m9k_ak47", "m9k_machete"},
command ="isis_1",
max = 10,
salary = 100,
admin = 0,
vote = true,
hasLicense = false,
})
Re: Custom Job Lua Error Respond ASAP !!!
Lml K ill try it one sec
Re: Custom Job Lua Error Respond ASAP !!!
Ok so it worked thanks so much i was using a stupid Job generator www.thecodingbeast.com And i guess it doesnt work And Dead Eye Class maker