Help With Animations ...
#1

Hello I guys ... I've problem With Animation When I Type for exemple /hide .. it shows to me Press Space To Stop The .... and when I press it the Animation Stoped , But Please i don't want this message show on the screen .. when I deleted it the Code of this Option Or i changed something on it the Animation doesn't stop

This is the code Of if :


public OnFilterScriptInit()
{
Anim_Textdraw = TextDrawCreate(610.0, 400.0,"~r~~k~~PED_SPRINT~ ~w~to stop the animation");
TextDrawUseBox(Anim_Textdraw, 0);
TextDrawFont(Anim_Textdraw, 2);
TextDrawSetShadow(Anim_Textdraw,0);
TextDrawSetOutline(Anim_Textdraw,1);
TextDrawBackgroundColor(Anim_Textdraw,0x000000FF);
TextDrawColor(Anim_Textdraw,0xFFFFFFFF);
TextDrawAlignment(Anim_Textdraw,3);
return 1;
}
Reply
#2

Delete all the TextDrawShowForPlayer lines in your animation commands. If you're too lazy to do that, then delete this but leave the variable.

pawn Код:
public OnFilterScriptInit()
{
Anim_Textdraw = TextDrawCreate(610.0, 400.0,"~r~~k~~PED_SPRINT~ ~w~to stop the animation");
TextDrawUseBox(Anim_Textdraw, 0);
TextDrawFont(Anim_Textdraw, 2);
TextDrawSetShadow(Anim_Textdraw,0);
TextDrawSetOutline(Anim_Textdraw,1);
TextDrawBackgroundColor(Anim_Textdraw,0x000000FF);
TextDrawColor(Anim_Textdraw,0xFFFFFFFF);
TextDrawAlignment(Anim_Textdraw,3);
return 1;
}
Reply
#3

Thank you But I Didn't Find any TextDrawShowForPlayer In The FilterScript For This Anims .. !
Reply
#4

Then use the second process I mentioned.
Reply
#5

What do u mean ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)