special anim
#1

How I can stop special anims??
Like the cuff of SAMP 0.3e

and Can any one help me when I enter a command not exist it's showen me the text Server:unkown command

How I can remove it
Reply
#2

To stop special actions: SetPlayerSpecialAction(playerid, 0);

What do you want to show in place of 'SERVER: Unknown Command'? Nothing or a message? Change 'return 0;' at the bottom of your gamemode's (NEVER filterscripts) OnPlayerCommandText to a SendClientMessage.
Reply
#3

ok thx bro
Reply
#4

Some animations stops when you press enter, if that doesnt work:

pawn Код:
SetPlayerSpecialAction(playerid,0);
EDIT: So late i was posting it and MP2 Posted it... Damn the waiting for another post.
Reply
#5

pawn Код:
if(strcmp(cmd, "/stopanim",true) == 0)
{
SetPlayerSpecialAction(playerid, 0);
ClearAnimations(playerid);
SendClientMessage(playerid, COLOR_WHITE, "You stopped anims!");
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)