• Nutscript problems!
    1 replies, posted
So i have custom factions in HL2RP to my Nutscript server and i create jobs and its LUA errors i notice you need to also create an class someone please tell me how to make a class or make a video i would really love if you help me either way ;) I have a code that was done before but i dont know how to make it a custom one for a custom faction that one is a done to go but i need to know how to make a custom one. I tried to make a custom one but that makes script ERRORS so if you can please help me :( CLASS.name = "Civil Protection Elite" CLASS.faction = FACTION_CP function CLASS:PlayerCanJoin(client) return client:IsCombineRank(nut.config.cpEliteRanks) end function CLASS:PlayerGetModel(client) for k, v in ipairs(nut.config.cpRankModels) do if (client:IsCombineRank(v[1])) then return v[2] end end end CLASS_CP_ELITE = CLASS.index
[QUOTE=emilking;45608919]So i have custom factions in HL2RP to my Nutscript server and i create jobs and its LUA errors i notice you need to also create an class someone please tell me how to make a class or make a video i would really love if you help me either way ;)[/QUOTE] Post Lua errors and your code.
Sorry, you need to Log In to post a reply to this thread.