Problems with Auto Gate
#1

Код:
if(playerDB[playerid][specialybe]==1)
       if(PlayerToPoint(10,playerid,-1571.8170166016, 661.67956542969, 6.9945831298828)) //Vietoj X,Y,Z iraљome savo vartu; kordinates.
       {
       if(!AutoVartai)
       {
       MoveObject(dpx,-1571.8170166016, 661.67956542969, 16.9945831298828,5); //Vietoj X,Y,Z iraљome savo atidarytu; vartu; kordinates.
       AutoVartai = true; // Nustatom, kad vartai yra atidaryti.
       return 1;
       }
       }
       else
       {
       if(AutoVartai)
       {
       MoveObject(dpx,-1571.8170166016, 661.67956542969, 6.9945831298828,5); //Vietoj X,Y,Z iraљome savo atidarytu; vartu; kordinates.
       AutoVartai = false; // Nustatome, kad vartai yra uћdaryti.
       return 1;
       }
       }
This gate is in the SF PD yard. So when i come near, it goes up (should go down) and then it rotates 90 degrees, but then i think they should close but they didnt (only i guess this could be a mistake)
Reply
#2

Up Up waiting 5 hours for answer ....
Reply
#3

UP UP
Reply
#4

Yea, I guess you're using Scripting Machine,
I also had this problem..

But also found no response, so I kept going on with my gamemode and put it aside,
once you get it tell me
Reply
#5

Quote:
Originally Posted by _Khaled_
Посмотреть сообщение
Yea, I guess you're using Scripting Machine,
I also had this problem..

But also found no response, so I kept going on with my gamemode and put it aside,
once you get it tell me
What do you mean "put it aside" . I have no idea what to do now, well if what invite me to skype: sa-mp921 we will talk and i'll show you on my server.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)