Hey guys,
Got again a problem with nexus...
This time, there's no sprint ( or run ) animation in-game, so it's not so RP to see guys walk fastly.
So, how can i add it ? And in what lua files ? D:
Can you help me with that ?
Thanks.
I dont know in what file i have to put this, sorry jjokerr, i think i have forget where it is D:
Oh, is it :
[code]
-- A function to get whether a player is running.
function playerMeta:IsRunning()
if ( self:Alive() and !self:IsRagdolled() and !self:InVehicle() and !self:Crouching() ) then
local sprintSpeed = self:GetNetworkedFloat("SprintSpeed");
local walkSpeed = self:GetNetworkedFloat("WalkSpeed");
local velocity = self:GetVelocity():Length();
if (velocity >= math.max(sprintSpeed - 25, 25)
and sprintSpeed > walkSpeed) then
return true;
end;
end;
end;
[/code]
It is that ?
Already done, and it's same, i'll search for other function like that so. ^^
This is now working, thank you !
But i now got a new problem, you see, when i take a SMG ( for exemple ), he is ALWAY holdster, but only in first person view, and i can shoot if i holdster. So i think there miss a animation, becose with tacoscript, there's a animation on the first person view when your weapon is non-holdster.
Can you help me ? :(
EDIT : Oh ok it was sharpeye who does that :P
-snip-
Tacoscript? 1 or 2?
-snip-
-snip-
Sorry, you need to Log In to post a reply to this thread.