Jump to content
  • 0

Gate automate pt membri


mafia_wars

Question

1 answer to this question

Recommended Posts

[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]

Link to comment
Share on other sites

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.