Oh Help :D
#1

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(newkeys < oldkeys)
    {
    	if(oldkeys - newkeys == KEY_SPRINT)
    	{
    	    ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0);
		}
    }
    else
    {
    	if(newkeys - oldkeys == KEY_SPRINT)
        {
            ApplyAnimation(playerid,"MUSCULAR", "MuscleSprint", 4.0, 1, 1, 1, 1, 1, 1);
        }
    }
	return 1;
}

I'm try with this code to change sprint, but isn't work, someone help me
Reply


Messages In This Thread
Oh Help :D - by New Ilyass - 24.01.2011, 08:55
Re: Oh Help :D - by New Ilyass - 24.01.2011, 09:09
Re: Oh Help :D - by Grim_ - 24.01.2011, 09:23
Re: Oh Help :D - by New Ilyass - 24.01.2011, 09:25
Re: Oh Help :D - by iggy1 - 24.01.2011, 09:28
Re: Oh Help :D - by Grim_ - 24.01.2011, 09:29

Forum Jump:


Users browsing this thread: 1 Guest(s)