• DarkRP model screwup
    2 replies, posted
Ok so im recoding my custom darkrp for the billionth time and i have come across a little error. in the custom jobs lua file i change the police playermodels to the path my police 1940 playermodels are located in, and when i go ingame and select police officer my model is an error and the icon that shows the model is an error. am i doing something wrong? [code] TEAM_POLICE = DarkRP.createJob("Police Officer", { color = Color(25, 25, 170, 255), model = {"models/humans/nypd1940/male01.mdl", "models/humans/nypd1940/male02.mdl", "models/humans/nypd1940/male03.mdl", "models/humans/nypd1940/male04.mdl", "models/humans/nypd1940/male05.mdl", "models/humans/nypd1940/male06.mdl", "models/humans/nypd1940/male07.mdl", "models/humans/nypd1940/male08.mdl", "models/humans/nypd1940/male09.mdl"}, description = [[You are a police officer. You protect citizens of the city from criminals. You follow the police chief and mayor's orders and take commands from your superiors. RAID=YES (against people doing illegal stuff) MUG=NO]], weapons = {"arrest_stick", "unarrest_stick", "fas2_glock20", "stunstick", "door_ram", "weaponchecker"}, command = "police", max = 3, salary = 75, admin = 0, vote = true, hasLicense = true, ammo = { ["10x25MM"] = 60, } }) [/code] am i doing something wrong? (any more info needed i will post)
Are you sending the model to players over FastDL?
I'm testing this out on singleplayer. The addon is in my addon folder, and also when i select it by clicking C and then choosing it from the playermodel selection it works. [editline]18th May 2014[/editline] ok i fixed the problem by copying and pasting the gangster playermodels and editing them to the police officer path but i would like to know what i did wrong if anyone knows.
Sorry, you need to Log In to post a reply to this thread.