08.01.2010, 14:52
Dunno if this will work, u maybe forgot brackets, try it 
Didnt test it hope it works for you, Peace

Didnt test it hope it works for you, Peace

Код:
dcmd_dance(playerid,params[])
{
if(!strval(params)) return SendClientMessage(playerid, RED, "Usage: /dance 1-4");
switch(strval(params))
{
case 0:
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1);
}
case 1:
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE2);
}
case 2:
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE3);
}
case 3:
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE4);
}
return 1;
}

