Jump to content

Question

Posted

Deci vrea sa stiu cum as putea face gate automate pentru membri din PD , FBI si NG

Gate stiu sa fac dar nu stiu cum sa le fac sa se deschida la membri din factiunile mentionate mai sus

Multumesc anticipat

1 answer to this question

Recommended Posts

Posted

[pawn]forward pdclose()[/pawn]

[pawn]new pdgate;[/pawn]

[pawn]            else if(PlayerToPoint(5.0,i, coord de unde sa se deschida gate))

            {

    if(PlayerInfo[pMember] == 1 || PlayerInfo[pLeader] == 1)

    {

      MoveObject(pdgate, coord obiect unde sa se miste ,5.0);

              SetTimerEx("pdclose",5000,false,"d",i);

            }

            }[/pawn]

[pawn]pdgate = CreateObject( obiectul facut in mta );[/pawn]

[pawn]public pdclose()

{

  MoveObject(pdgate,coord ob pentru a reveni la loc,5.0);

}[/pawn]

Uite si un gate pentru garajul LSPD. Pentru FBI si NG faci la fel.

[pawn]forward pdclose();[/pawn]

[pawn]new pdgate;[/pawn]

[pawn]            else if(PlayerToPoint(5.0,i,1586.906128, -1638.418213, 15.071732))

            {

    if(PlayerInfo[pMember] == 1 || PlayerInfo[pLeader] == 1)

    {

      MoveObject(pdgate,1586.906128, -1638.418213, 6.071732,5.0);

              SetTimerEx("pdclose",5000,false,"d",i);

            }

            }[/pawn]

[pawn]pdgate = CreateObject(980, 1586.906128, -1638.418213, 15.071732, 0.0000, 0.0000, 0.0000);[/pawn]

[pawn]public pdclose()

{

  MoveObject(pdgate,1586.906128, -1638.418213, 15.071732,5.0);

}[/pawn]

Guest
This topic is now closed to further replies.
×
×
  • 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.