13.09.2017, 12:23
heres my code idk why i cant make people walk.
it just does nothing
Код:
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; }