10.01.2015, 06:19
why ?
Код:
if (strcmp("/dance", cmdtext, true) == 0) { if(!IsAblePedAnimation(playerid)) return 1; switch(strval(params)) { case 1: SetPlayerSpecialAction(playerid, 5); case 2: SetPlayerSpecialAction(playerid, 6); case 3: SetPlayerSpecialAction(playerid, 7); case 4: SetPlayerSpecialAction(playerid, 8); default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /dance [1-4]"); } return 1;