Open SoMuchNope opened 6 years ago
Did you add the addpapname in the weapons lua or in the gamemode lua?
@DjNathann Map LUA? Should it go somewhere else?
@DjNathann Alright, maybe give me a reference as to how it should be structured, and where it should go?
Here. Go to this file:
nzombies/gamemodes/nzombies/gamemode/display/sh_papnames.lua
What you'll see a list of the default weapon PaP names. If you want to change them, you're more than welcome to. If you want to add some in yourself, follow the format that you see.
The format: ["weapon_class"] = "PaP Name",
Additionally, at the bottom, you're provided a function you can run ANYWHERE on SERVER code to do the same thing: AddPackAPunchName(class, papname) where "class" and "papname" are the same as what I described above.
@minin43 Holy Sh*t man, thank you, I've been getting myself so frustrated with this. :-)
So, I've been messing around with LUA, and I can't get PaP names to work (using addpapname). Can someone help?