animations
#1

ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1 ,1,1,1);

public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/drunk", true))

(AND AT THE NEXT STEPS, I DON'T KNOW...)


i dont know what to put at "onplayercommand" for animations..
Reply
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp(cmdtext, "/drunk",true) == 0)
  {
      ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
 
  }
  return 1;
}
U mean this?
Reply
#3

Quote:
Originally Posted by <Krys>
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp(cmdtext, "/drunk",true) == 0)
  {
      ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
 
  }
  return 1;
}
U mean this?
Wrong.

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp(cmdtext, "/drunk",true) == 0)
  {
    ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
    return 1;
  }
  return 0;
}
This one is right.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)