
Posts
517
Respect
161Add +1
Forum Rank
Zombie Enslaver
Primary Group
Scripter
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!
.PlayViewmodelFx( localclientnum, fx, "tag_flash" );
.while(can_play_fx)
{
PlayViewmodelFx(....);
realwait(fxtime);
}
while(true)
{
if(can_play_fx)
{
PlayViewmodelFx(....);
realwait(fxtime);
}
wait(checkwaittime);
}


![]() | |
![]() | |
![]() | Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
.
![]() | |
![]() | |
![]() | Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
Yes, I know that it would stillplay after that.
But all I want is the fx to stop playing, or not being visible depending on what the player is doing ingame.
But I think I found the solution anyway so it should be alright now.
Yeah controlling the life of the fx from EffectsEd and your loop is the only way to do it - you cant delete the fx midway through playing it on a viewmodel in CSC unfortunately.
.