X Team run Like CJ...
#1

How i can that X Team run like that CJ, and the other X Team run like default...

I have:

pawn Код:
if(HOLDING( KEY_SPRINT ))
    {
   if(gTeam[playerid] == TEAM_ZOMBIE)
   {
      ApplyAnimation(playerid,"Muscular","MuscleSprint",4.1,1,1,1,1,1);
      ApplyAnimation(playerid,"Muscular","MuscleSprint",4.1,1,1,1,1,1);
   }
   else
   {

   }
   }
P.D: Sry for my bad english, im from spain >.<
Reply
#2

Try using it:

pawn Код:
if (newkeys & KEY_SPRINT)
{
    if ((gTeam[playerid] == TEAM_ZOMBIES) && (!IsPlayerInAnyVehicle(playerid))
    {
        ApplyAnimation(playerid,"Muscular","MuscleSprint",4.1,1,1,1,1,1);
    }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)