08.09.2013, 19:35
pawn Код:
#define DialogImpost 21293 // topo do gm
if(!strcmp("/impostometro", cmdtext, true))
{
if (PlayerToPoint(2.0, playerid, 1483.8766,-1750.1808,15.4453))
{
new xFrt[60];
new imposto = TaxValue;
Controle(playerid, 0);
format(xFrt, sizeof(xFrt), " O valor arrecadado em impostos e multas й de: R$%d", imposto);
ShowPlayerDialog(playerid, DialogImpost, DIALOG_STYLE_MSGBOX,"[ I ] Impostometro", xFrt,"Fechar",#);
Controle(playerid, 1);
return true;
}
return true;
}