• TTT Change player model while playing?
    7 replies, posted
Hello, Is it possible to change player model in-game while playing? like after an action? for e.g. I wanted to change playermodel when using disguiser since this is easy to try I added ply:SetModel("models/player/test.mdl") inside disguise toggle function \terrortown\gamemode\weaponry_shd.lua function WEPS.DisguiseToggle(ply)    if IsValid(ply) and ply:IsActiveTraitor() then       if not ply:GetNWBool("disguised", false) then          RunConsoleCommand("ttt_set_disguise", "1") ply:SetModel("models/player/test.mdl") test.mdl is just example, I tried many it got applied for 1 second then comes back to normal model. any idea why? how to force it to stay on?
What exactly are you trying to do here? I don't quite understand it.
Changing a players playermodel while they walk around, and do stuff. instead of dying and when respawn they get a new model
I think it's resetting because of an external addon. It's possible. Try to check it in PlayerSetModel hook too.
So the player's playermodel changes randomly whilst walking around? Still not clear here.
exacly. probably not randomly, but on command
Exactly. Simply, can you change the playermodel by anyhow in the middle of the round? no addons I tried, no luck
bump
Sorry, you need to Log In to post a reply to this thread.