walk command doesnt work
#1

heres my code idk why i cant make people walk.

Код:
CMD:walk(playerid,params[])
{
    if (GetPlayerWalkingStyle(playerid) == WALK_NORMAL)
	{
	    ApplyAnimation(playerid,"PED","WALK_player",4.1,1,1,1,1,0,1);
	}
	if (GetPlayerWalkingStyle(playerid) == WALK_PED)
	{
	    ApplyAnimation(playerid,"PED","WALK_civi",4.1,1,1,1,1,0,1);
	}
	if (GetPlayerWalkingStyle(playerid) == WALK_GANGSTA)
	{
	    ApplyAnimation(playerid,"PED","WALK_gang1",4.1,1,1,1,1,0,1);
	}
	if (GetPlayerWalkingStyle(playerid) == WALK_GANGSTA2)
	{
	    ApplyAnimation(playerid,"PED","WALK_gang2",4.1,1,1,1,1,0,1);
	}
	if (GetPlayerWalkingStyle(playerid) == WALK_OLD)
	{
	    ApplyAnimation(playerid,"PED","WALK_old",4.1,1,1,1,1,0,1);
	}
	if (GetPlayerWalkingStyle(playerid) == WALK_FAT_OLD)
	{
	    ApplyAnimation(playerid,"PED","WALK_fatold",4.1,1,1,1,1,0,1);
	}
	if (GetPlayerWalkingStyle(playerid) == WALK_FAT)
	{
	    ApplyAnimation(playerid,"PED","WALK_fat",4.1,1,1,1,1,0,1);
	}
	if (GetPlayerWalkingStyle(playerid) == WALK_LADY)
	{
	    ApplyAnimation(playerid,"PED","WOMAN_walknorm",4.1,1,1,1,1,0,1);
	}
	if (GetPlayerWalkingStyle(playerid) == WALK_LADY2)
	{
		ApplyAnimation(playerid,"PED","WOMAN_walkbusy",4.1,1,1,1,1,0,1);
	}
	if (GetPlayerWalkingStyle(playerid) == WALK_WHORE)
	{
	    ApplyAnimation(playerid,"PED","WOMAN_walkpro",4.1,1,1,1,1,0,1);
	}
	if (GetPlayerWalkingStyle(playerid) == WALK_WHORE2)
	{
	    ApplyAnimation(playerid,"PED","WOMAN_walksexy",4.1,1,1,1,1,0,1);
	}
	if (GetPlayerWalkingStyle(playerid) == WALK_DRUNK)
	{
	    ApplyAnimation(playerid,"PED","Walk_drunk",4.1,1,1,1,1,0,1);
	}
	if (GetPlayerWalkingStyle(playerid) == WALK_BLIND)
	{
	    ApplyAnimation(playerid,"PED","Walk_Wuzi",4.1,1,1,1,1,0,1);
	}
	return 1;
}
it just does nothing
Reply


Messages In This Thread
walk command doesnt work - by grymtn - 13.09.2017, 12:23
Re: walk command doesnt work - by NaS - 13.09.2017, 12:45
Re: walk command doesnt work - by grymtn - 14.09.2017, 08:13
Re: walk command doesnt work - by iSpark - 15.09.2017, 22:24

Forum Jump:


Users browsing this thread: 1 Guest(s)