20.11.2011, 21:40
Quote:
Valew, ja que so da pra usar assim, sabe alguma especial action que faзa o player andar de um jeito diferente? Nao bebado mas um tipo mais lerdo ou meio manco...
|
pawn Код:
if(strcmp(cmd, "/andando",true) == 0)
{
if(!strlen(cmdtext[9])) return SendClientMessage(playerid, COLOR_GREEN, "[Info]{b4b5b7}USO: /andando [1-9]");
switch(cmdtext[9])
{
case '1': LoopingAnim(playerid, "ped", "WALK_armed", 4.0, 1, 1, 1, 1, 1);
case '2': LoopingAnim(playerid, "ped", "WALK_civi", 4.0, 1, 1, 1, 1, 1);
case '3': LoopingAnim(playerid, "ped", "WALK_csaw", 4.0, 1, 1, 1, 1, 1);
case '4': LoopingAnim(playerid, "ped", "WALK_fat", 4.0, 1, 1, 1, 1, 1);
case '5': LoopingAnim(playerid, "ped", "WALK_fatold", 4.0, 1, 1, 1, 1, 1);
case '6': LoopingAnim(playerid, "ped", "WALK_gang1", 4.0, 1, 1, 1, 1, 1);
case '7': LoopingAnim(playerid, "ped", "WALK_gang2", 4.0, 1, 1, 1, 1, 1);
case '8': LoopingAnim(playerid, "ped", "WALK_old", 4.0, 1, 1, 1, 1, 1);
case '9': LoopingAnim(playerid, "ped", "Walk_Wuzi", 4.0, 1, 1, 1, 1, 1);
default: return SendClientMessage(playerid, COLOR_GREEN, "[Info]{b4b5b7}USO: /andando[1-9]");
}
return 1;
}