Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:rap(playerid, params[])
- {
- new type;
- if (!AnimationCheck(playerid))
- return SendErrorMessage(playerid, "Você não pode executar animações no momento.");
- if (sscanf(params, "d", type))
- return SendSyntaxMessage(playerid, "/rap [1-3]");
- if (type < 1 || type > 3)
- return SendErrorMessage(playerid, "Dança inválida.");
- switch (type) {
- case 1: ApplyAnimation(playerid,"RAPPING","RAP_A_Loop",4.0,1,1,1,1,0, 1);
- case 2: ApplyAnimation(playerid,"RAPPING","RAP_B_Loop",4.0,1,1,1,1,0, 1);
- case 3: ApplyAnimation(playerid,"RAPPING","RAP_C_Loop",4.0,1,1,1,1,0, 1);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement