How to make this without that the player stop walking..?
#6

Quote:
Originally Posted by Kartowka
You can make a /togchatanim command easily.
pawn Код:
new TogChatAnim[MAX_PLAYERS];
OnPlayerConnect
pawn Код:
TogChatAnim[playerid] = 0;
pawn Код:
if(strcmp(cmd, "/togchatanim", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        if (!TogChatAnim[playerid])
        {
            TogChatAnim[playerid] = 1;
            SendClientMessage(playerid, COLOR_GRAD2, "  You have togged your chat animation.");
        }
        else
        {
            TogChatAnim[playerid] = 0;
            SendClientMessage(playerid, COLOR_GRAD2, "  You can now see your chat anim.");
        }
    }
return 1;
}
pawn Код:
public OnPlayerText(playerid, text[]){
if(TogChatAnim[playerid]!=1)
{
ApplyAnimation(playerid,"PED","IDLE_CHAT",3.8,1,1,1,0,1000);
}
 
  return 1;
}
Thanks but that's not really RP you know, i just want that the layer not stops moving when he does the naimation
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)