12.02.2013, 16:13
This is a reaction, of some posts on the (inoffical) german SA:MP forums.
It's about, thats SetPlayerSpecial Action is probaly not working correct.
SpecialAction 12 (SPECIAL_ACTION_SITTING)
SpecialAction 24 (SPECIAL_ACTION_CUFFED)
SpecialAction 25 (SPECIAL_ACTION_CARRY)
This actions are not working in 0.3x (R1(-2))
SpecialAction 24 worked fine in 0.3e.
Some posts confirmed, that SpecialAction 12 is not working in 0.3e, too.
I tried it on a blank Script only with this Command
and this in Dialogresponse
It's about, thats SetPlayerSpecial Action is probaly not working correct.
SpecialAction 12 (SPECIAL_ACTION_SITTING)
SpecialAction 24 (SPECIAL_ACTION_CUFFED)
SpecialAction 25 (SPECIAL_ACTION_CARRY)
This actions are not working in 0.3x (R1(-2))
SpecialAction 24 worked fine in 0.3e.
Some posts confirmed, that SpecialAction 12 is not working in 0.3e, too.
I tried it on a blank Script only with this Command
pawn Код:
CMD->test(playerid)
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"SpecialAction","0\n1\n2\n3\n4\n5\n6\n7\n8\n10\n11\n12\n13\n20\n21\n22\n23\n24\n25","Set","Back");
return true;
}
pawn Код:
public OnDialogResponse(playerid,dialogid,response,listitem,inputtext[])
{
switch(dialogid)
{
case 1:
{
if(response)
{
SetPlayerSpecialAction(playerid, strval(inputtext));
SendClientMessage(playerid,-1,inputtext);
return true;
}
}
}
return true;
}