14.07.2012, 18:07
pawn Код:
new bool: boate;
//no comando /abrirboate
boate = true;
//no comando /fecharboate
boate = false;
//troque sua funзгo por essa
if(newkeys == KEY_SECONDARY_ATTACK)
{
if(PlayerToPoint(1.0, playerid, 1836.4580,-1682.3975,13.3471))
{
if(boate)
{
SetPlayerInterior(playerid, 17);
SetPlayerPos(playerid, 493.390991,-22.722799,1000.679687);
}
}
}