04.07.2012, 01:00
Quote:
Bom, estou com esses Anims aq, da categoria "Smoke", sу q quando digito: /smoke 2 por ex. retorna o sendclientmessage.
cmd: pawn Код:
|
pawn Код:
CMD:smoke(playerid,params[])
{
new IDanims;
if(sscanf(params, "i", IDanims)) return SCM(playerid, 0xEFEFF7AA, "|USO| /smoke [1~4]");
if(IDanims == 1)
ApplyAnimation(playerid, "SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
else if(IDanims == 2)
ApplyAnimation(playerid, "SMOKING", "F_smklean_loop", 4.0, 1, 0, 0, 0, 0);
else if(IDanims == 3)
ApplyAnimation(playerid, "SMOKING", "M_smkstnd_loop", 4.0, 1, 0, 0, 0, 0);
else if(IDanims == 4)
ApplyAnimation(playerid, "SMOKING", "M_smk_out", 4.0, 1, 0, 0, 0, 0);
else
SCM(playerid, 0xEFEFF7AA, "|USO| /smoke [1~4]");
return 1;
}