30.12.2009, 22:24
Hello I have trouble with SPECIAL_ACTION_SIT it doesnt play
Sorry on my bad english

Sorry on my bad english
new Sit[MAX_PLAYERS];
dcmd_sit(playerid,params[]);
{
#pragma unused params
if(Sit[playerid] != 1)
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_SITTING);
Sit[playerid] = 1;
}
else
{
Sit[playerid] = 0;
ClearAnimations(playerid);
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE);
}
return 1;
}