Hello today while editing my thief class I wanted to add more models. I am not sure if I did it right but I followed this guy on you tube. Although when I go into my server the model is an error and when I want to become it there is no option to pick a model. Here is the code, if you know what to do please comment, thanks.
TEAM_THIEF = AddExtraTeam("Thief", {
color = Color(70, 70, 70, 255),
model = "pd2_chains_p.mdl", "pd2_dallas_p.mdl", "pd2_hoxton_p.mdl", "pd2_wolf_p.mdl",
description = [[As a thief you are able to raid and mug people.
You are equipped with a keypad cracker and a lock
pick, with both of those tools combined no one can
keep you out! Use your skills to mug someone or
raid their home!]],
weapons = {"keypad_cracker", "lockpick"},
command = "thief",
max = 2,
salary = 30,
admin = 0,
vote = false,
hasLicense = false
})
Needs to be a table if I recall correctly.
Generalized Lua Help ( Links to Wikis, Answers the question of "Where do I post a simple question or DarkRP Specific question", links to other resources compiled by forum members )
[url]https://dl.dropboxusercontent.com/u/26074909/tutoring/___welcome_docs/_welcome_general_lua_learning.lua.html[/url]
[code]TEAM_THIEF = AddExtraTeam("Thief", {
color = Color( 70, 70, 70, 255 );
model = {
"pd2_chains_p.mdl";
"pd2_dallas_p.mdl";
"pd2_hoxton_p.mdl";
"pd2_wolf_p.mdl";
};
description = [[As a thief you are able to raid and mug people.
You are equipped with a keypad cracker and a lock
pick, with both of those tools combined no one can
keep you out! Use your skills to mug someone or
raid their home!]];
weapons = {
"keypad_cracker";
"lockpick";
};
command = "thief";
max = 2;
salary = 30;
admin = 0;
vote = false;
hasLicense = false;
} ); [/code]
Sorry, you need to Log In to post a reply to this thread.