Jump to content
  • 0

Gate FBI


Warr007

Question

Problema intalnita (descriere): Cand apas "C", "H' pentru a deschisde poarta care am creat-o pur si simplu poarta se teleporteaza si dispare si nu mai apare, si una dintre porti sta pe loc.
Ero(area / rile) / warning-(ul / urile): Nu primesc nici o eroare / warning
Liniile de cod / sursa / script-ul(obligatoriu):

gatefbi,

gatefbi2,
--------------------------------------------------------------------------------------
forward fbigateclose();
forward fbi2gateclose();
--------------------------------------------------------------------------------------
	gatefbi = CreateObject(971, -1769.6999511719, 989.29998779297, 26.10000038147, 0.00000, 0.00000, 90.999969482422);
	gatefbi2 = CreateObject(971, -1769.5999755859, 980.5, 26.10000038147, 0.00000, 0.00000, 270);
--------------------------------------------------------------------------------------
 		   if(PlayerToPoint(15.0, playerid,-1769.6999511719, 989.29998779297, 26.10000038147))
           {
               MoveObject(gatefbi,-1769.6999511719, 996.29998779297, 26.10000038147, -1000.0, -1000.0, -1000.0);
               SetTimer("fbigateclose" ,9000 ,false);
               return 1;
           }

		   if(PlayerToPoint(15.0, playerid,-1769.5999755859, 980.5, 26.10000038147))
           {
               MoveObject(gatefbi2,-1769.5999755859, 973.5, 26.10000038147,2, -1000.0, -1000.0, -1000.0);
               SetTimer("fbi2gateclose" ,9000 ,false);
               return 1;
           }
--------------------------------------------------------------------------------------
public fbigateclose()
{
    MoveObject(gatefbi,-1769.6999511719, 996.29998779297, 26.10000038147, -1000.0, -1000.0, -1000.0);
    return 1;
}

public fbi2gateclose()
{
    MoveObject(gatefbi2,-1769.5999755859, 973.5, 26.10000038147,2, -1000.0, -1000.0, -1000.0);
    return 1;
}


Imagini / Video (optional): 


Ati incercat sa rezolvati singur?:  Da, imi bat capu de 2 zile dar degeaba. Nu imi dau seama ce fac gresit, daca puteti sa corectati greseala sau sa imi ziceti ce sa modific. Va multumesc 

P.S Scuzati calitatea la video, trebuie sa se randeze. Doar ce l-am uploadat.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0
Just now, Addy said:

Sunt pe net o gramada de videoclipuri in care iti explica pas cu pas cum se fac portile miscatoare.

 

Am incercat sa ma iau si dupa tutoriale, dar degeaba, nu functioneaza deloc, si nici nu inteleg ce am pus gresit.

Link to comment
Share on other sites

  • 0

Mai incearca vei reusi, 

Sau, pune coordonatele portii inchise peste tot iar apoi la if playertopoint pune z - 5

 

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 0

Mai incarca si o sa reusesti ! , nici mie nu me-a reusit din prima.

 

Sau..

{
    MoveObject(gatefbi,-1769.6999511719, 996.29998779297, 26.10000038147, -1000.0, -1000.0, -1000.0);
    return 1;
}

public fbi2gateclose()
{
    MoveObject(gatefbi2,-1769.5999755859, 973.5, 26.10000038147,2, -1000.0, -1000.0, -1000.0);
    return 1;
}

Aici pune coordonatele unde sa se duca acele porti! . Succes

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.