12.03.2012, 18:17
can you guys see the problem here what i doing wrong
pawn Код:
if (!(newkeys & KEY_WALK) && (oldkeys & KEY_WALK)) {
if(GetPlayerState(playerid) != PLAYER_STATE_ONFOOT)
{
return 1;
}
switch(PlayerInfo[playerid][pWalk])
{
case 1:
{
LoopingAnim(playerid,"PED","WALK_gang1",4.1,1,1,1,1,1);
}
case 2:
{
LoopingAnim(playerid,"PED","WOMAN_walksexy",4.1,1,1,1,1,1);
}
case 3:
{
LoopingAnim(playerid,"PED","WALK_armed",4.1,1,1,1,1,1);
}
case 4:
{
LoopingAnim(playerid,"PED","WALK_civi",4.1,1,1,1,1,1);
}
case 5:
{
LoopingAnim(playerid,"PED","WALK_csaw",4.1,1,1,1,1,1);
}
case 6:
{
LoopingAnim(playerid,"PED","WALK_gang2",4.1,1,1,1,1,1);
}
case 7:
{
LoopingAnim(playerid,"PED","WALK_drunk",4.1,1,1,1,1,1);
}
case 8:
{
LoopingAnim(playerid,"PED","WALK_fat",4.1,1,1,1,1,1);
}
case 9:
{
LoopingAnim(playerid,"PED","WALK_fatold",4.1,1,1,1,1,1);
}
case 10:
{
LoopingAnim(playerid,"PED","WALK_old",4.1,1,1,1,1,1);
}
case 11:
{
LoopingAnim(playerid,"PED","WALK_player",4.1,1,1,1,1,1);
}
case 12:
{
LoopingAnim(playerid,"PED","WALK_rocket",4.1,1,1,1,1,1);
}
case 13:
{
LoopingAnim(playerid,"PED","WALK_shuffle",4.1,1,1,1,1,1);
}
case 14:
{
LoopingAnim(playerid,"PED","WOMAN_walknorm",4.1,1,1,1,1,1);
}
case 15:
{
LoopingAnim(playerid,"PED","WOMAN_walkpro",4.1,1,1,1,1,1);
}
case 16:
{
LoopingAnim(playerid,"PED","WOMAN_walkbusy",4.1,1,1,1,1,1);
}
case 17:
{
LoopingAnim(playerid,"PED","WOMAN_walknorm",4.1,1,1,1,1,1);
}
case 18:
{
LoopingAnim(playerid,"PED","Walk_Wuzi",4.1,1,1,1,1,1);
}
}