special anim - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: special anim (
/showthread.php?tid=414820)
special anim -
Jack_Ryder - 10.02.2013
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
Re: special anim -
MP2 - 10.02.2013
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.
Re: special anim -
Jack_Ryder - 10.02.2013
ok thx bro
Re: special anim -
SilverKiller - 10.02.2013
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.
Re: special anim -
ScripteRMKD - 10.02.2013
pawn Код:
if(strcmp(cmd, "/stopanim",true) == 0)
{
SetPlayerSpecialAction(playerid, 0);
ClearAnimations(playerid);
SendClientMessage(playerid, COLOR_WHITE, "You stopped anims!");
}