View Single Post
crashbandicoot
BANNED
Join Date: Mar 2012
Location: why will u come XD?
Old 03-01-2018 , 08:16   Re: Animation Only working in the Air or Swim.Animation Problem
Reply With Quote #7

I don't want use get/set_pdata . Becasue Some pdatas are different between ConditionZero and cs16. Also only I want use pev_anime ........ still nobody answered my actual question . Why Animation not playing on the ground ? why only it works while user jump or fall in the air ..... or in swim ....... why animations not playing on the ground by pev_anime ? what was my mistake ?
if(get_user_button(entity) & IN_ATTACK2) { //Don't forget! usermodel is player/chicken/chicken.mdl
new atk1 = random_num(10,11)
set_pev(entity,pev_weaponanim,atk1)
set_pev(entity,pev_sequence,atk1)
set_pev(entity,pev_gaitsequence,atk1)
set_pev(entity,pev_framerate,1.0)
set_pev(entity,pev_frame, 0.0) //float and all frames start from 0.0
set_pev(entity,pev_animtime, get_gametime())
}

and who can hlep to this topic for block audio by Sound MSG register_message( get_user_msgid( "SendAudio" ), "MessageSendAudio","a") https://forums.alliedmods.net/showth...26#post2580826

Last edited by crashbandicoot; 03-01-2018 at 08:33.
crashbandicoot is offline
Send a message via Skype™ to crashbandicoot