29.11.2012, 02:09
change
to this
CMD:anim(playerid,params[])
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Ani mlist","Dance 1\nDance 2\nBeach 1\nBeach 2\nCarry 1\nCarry 2\nCarry 3\nCrack 1\nCrack 2\nCrack 2\nDealer 1\nDealer 2\nDildo 1\nDildo 2\nFat 1\nFat 2\nFat 3\nFat 4\nFood 1\nPed 1\nSmoking 1\nStrip 1","Ok","Exit");
return 1;
}
and at includes add
include <zcmd>
Quote:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/anim", cmdtext, true, 10) == 0) { ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Ani mlist","Dance 1\nDance 2\nBeach 1\nBeach 2\nCarry 1\nCarry 2\nCarry 3\nCrack 1\nCrack 2\nCrack 2\nDealer 1\nDealer 2\nDildo 1\nDildo 2\nFat 1\nFat 2\nFat 3\nFat 4\nFood 1\nPed 1\nSmoking 1\nStrip 1","Ok","Exit"); return 1; } |
CMD:anim(playerid,params[])
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Ani mlist","Dance 1\nDance 2\nBeach 1\nBeach 2\nCarry 1\nCarry 2\nCarry 3\nCrack 1\nCrack 2\nCrack 2\nDealer 1\nDealer 2\nDildo 1\nDildo 2\nFat 1\nFat 2\nFat 3\nFat 4\nFood 1\nPed 1\nSmoking 1\nStrip 1","Ok","Exit");
return 1;
}
and at includes add
include <zcmd>