09.10.2011, 15:31
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(PlayerToPoint(3.0, playerid,2278.8840,23.9567,26.5260) || PlayerToPoint(3.0, playerid,1366.6505,392.0420,19.6993) || PlayerToPoint(3.0, playerid,660.6581,-576.7870,16.3359)|| PlayerToPoint(3.0, playerid,141.7753,-174.8925,1.5781))
{
if(newkeys == KEY_HANDBRAKE)
{
new Vstring[128];
format(Vstring, sizeof(Vstring), "Extrair\r\nDepositar\r\nBalanзo\r\nCarregar Telemovel\r\nExtrair Tudo\r\nDepositar Tudo\r\n");
ShowPlayerDialog(playerid, MULTI_DIALOG, DIALOG_STYLE_LIST, "MultiBanco", Vstring, "Ok","Cancel");
}
}
return 1;
}