[Pomoc]vrata i kapije

Započeo 𝓒𝓪𝓼𝓮𝔂, Maj 03, 2013, 10:54:31 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

GameMode: S o u th Europe
Problem:Ovako ima jedan vrata sto se otvaraju na alt kapa shop i one se otvaraju na alt i vraata se otvore
e sad a kapije od ORG sve otvaraju isto na ALT svi
a ja kad ubacim to za cap shop ta vrata da se otvaraju na alt
pod onplayerkeystatechange
meni kapije ne rade
nikako ne reagiraju nikako nista stiscem alt i nece
a izbacim ta vrata kapije rade normalno evo ta vrata



else if( newkeys == 1024 ) //VRATA
{
if (IsPlayerInRangeOfPoint( playerid, 5.0, 817.0997558594,-1337.5999755859,12.5))   //kordinate zatvorene kapije
{
MoveDynamicObject(vratas2, 817.0997558594,-1337.5999755859,12.5, 2.0);
    MoveDynamicObject(vratas1, 812,-1337.5999755859,12.5, 2.0);
SetTimer("Zatvaranje", 7000, 0);
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "* %s otvara vrata.", sendername);
    ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
return 1;
}


Evo Jedna kapija od FBi sto ne radi

new Ciakapija1;




Ciakapija1 = CreateDynamicObject(2990, 1286.125, -1652.1044921875, 16.460855484009, 0, 0, 90);




if( newkeys == KEY_WALK ) // Cia KAPIJA
{
if (IsPlayerInRangeOfPoint( playerid, 10.0, 1286.125, -1652.1044921875, 17.460855484009))   //kordinate zatvorene kapije
{
             if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2)
        {
    MoveDynamicObject(Ciakapija1,1286.125,-1652.1044921875,22.710855484009, 2.00); // kordinate otvorene kapije
                SetTimer("kapijaCia1", 7000, 0);
        SendClientMessage(playerid, COLOR_BLUE,"Cia Kapija je otvorena i zatvorice se za 7 sekundi.");
          GetPlayerName(playerid, sendername, sizeof(sendername));
                format(string, sizeof(string), "* %s uzima daljinski i otvara kapiju.", sendername);
                ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 1;
                        }
}
}




public kapijaCia1()
{
    MoveDynamicObject(Ciakapija1,1286.125, -1652.1044921875, 16.460855484009, 2.00);
    return 1;
}



znaci kad ubacim gore ona vrata dase otvaraju na alt
ona rade
a kapije od org nerade
kad izbacim ta vrata kapije rade ubacim kapije nerade
Heaven Community [IN PROGRESS]

sto dupliras temu.

http://balkan-samp.com/forum/index.php?topic=73030.15

probaj da se ta vrata otvaraju na nesto drugo ili komandom
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

pa kako da stavim na C dase otvara
Heaven Community [IN PROGRESS]

BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

jel ovo sto pise newkeys

npr
KEY_SPRINT
TO Space dase otvara
Heaven Community [IN PROGRESS]

da
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

radi fala AE LOCKAJTE
Heaven Community [IN PROGRESS]