}
if(strcmp(cmd,"/pedmove", true) == 0)
{
if(PlayerInfo[playerid][pPaintball]) return SendClientMessage(playerid, COLOR_GREY, "You can't use this action when being in paintball.");
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid,COLOR_WHITE,"USAGE: /pedmove [1-27]");
return 1;
}
anumber = strval(tmp);
if(anumber < 1 || anumber > 27) { SendClientMessage(playerid,COLOR_WHITE,"USAGE: /pedmove [1-27]"); return 1; }
if(anumber == 1) { LoopingAnim(playerid,"PED","JOG_femaleA",4.0,1,1,1,1,1); }
if(anumber == 2) { LoopingAnim(playerid,"PED","JOG_maleA",4.0,1,1,1,1,1); }
if(anumber == 3) { LoopingAnim(playerid,"PED","WOMAN_walkfatold",4.0,1,1,1,1,1); }
if(anumber == 4) { LoopingAnim(playerid,"PED","run_fat",4.0,1,1,1,1,1); }
if(anumber == 5) { LoopingAnim(playerid,"PED","run_fatold",4.0,1,1,1,1,1); }
if(anumber == 6) { LoopingAnim(playerid,"PED","run_old",4.0,1,1,1,1,1); }
if(anumber == 7) { LoopingAnim(playerid,"PED","Run_Wuzi",4.0,1,1,1,1,1); }
if(anumber == 8) { LoopingAnim(playerid,"PED","swat_run",4.0,1,1,1,1,1); }
if(anumber == 9) { LoopingAnim(playerid,"PED","WALK_fat",4.0,1,1,1,1,1); }
if(anumber == 10) { LoopingAnim(playerid,"PED","WALK_fatold",4.0,1,1,1,1,1); }
if(anumber == 11) { LoopingAnim(playerid,"PED","WALK_gang1",4.0,1,1,1,1,1); }
if(anumber == 12) { LoopingAnim(playerid,"PED","WALK_gang2",4.0,1,1,1,1,1);}
if(anumber == 13) { LoopingAnim(playerid,"PED","WALK_old",4.0,1,1,1,1,1);}
if(anumber == 14) { LoopingAnim(playerid,"PED","WALK_shuffle",4.0,1,1,1,1,1);}
if(anumber == 15) { LoopingAnim(playerid,"PED","woman_run",4.0,1,1,1,1,1);}
if(anumber == 16) { LoopingAnim(playerid,"PED","WOMAN_runbusy",4.0,1,1,1,1,1); }
if(anumber == 17) { LoopingAnim(playerid,"PED","WOMAN_runfatold",4.0,1,1,1,1,1); }
if(anumber == 18) { LoopingAnim(playerid,"PED","woman_runpanic",4.0,1,1,1,1,1); }
if(anumber == 19) { LoopingAnim(playerid,"PED","WOMAN_runsexy",4.0,1,1,1,1,1); }
if(anumber == 20) { LoopingAnim(playerid,"PED","WOMAN_walkbusy",4.0,1,1,1,1,1);}
if(anumber == 21) { LoopingAnim(playerid,"PED","WOMAN_walkfatold",4.0,1,1,1,1,1); }
if(anumber == 22) { LoopingAnim(playerid,"PED","WOMAN_walknorm",4.0,1,1,1,1,1); }
if(anumber == 23) { LoopingAnim(playerid,"PED","WOMAN_walkold",4.0,1,1,1,1,1); }
if(anumber == 24) { LoopingAnim(playerid,"PED","WOMAN_walkpro",4.0,1,1,1,1,1);}
if(anumber == 25) { LoopingAnim(playerid,"PED","WOMAN_walksexy",4.0,1,1,1,1,1);}
if(anumber == 26) { LoopingAnim(playerid,"PED","WOMAN_walkshop",4.0,1,1,1,1,1); }
if(anumber == 27) { LoopingAnim(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1); }
return 1; |