Jump to content
  • 0

MoveObject


rymezic

Question

Fratilor am si eu o problema incerc sa fac o poarta am facut totul dar nu stiu cum sa pun Pozitiile X Y Z !

Scripul vine cam asa

[pawn]//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=SrM gate=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

    if((newkeys==KEY_CROUCH))

    {

        if(PlayerToPoint(12.0,playerid,-2433.30004883, 495.10000610, 31.70000076))

        {

        if (PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)

{

if ((!adds)) {return 1;}

    SetTimer("AddsOn10", addtimer36, 0);adds = 0;

            MoveObject(srmgate, -2433.30004883, 495.10000610, 31.70000076, 2);

            SCM(playerid, WHITE, "The gate is now open and will be closed in 4 seconds ");

            SetTimer("closesrmgate",4000,0);

        }

        }

    }[/pawn]

Cum pun astea va rog explicatimi si mie

[pawn]if(PlayerToPoint(12.0,playerid,-2433.30004883, 495.10000610, 31.70000076))[/pawn]

[pawn]MoveObject(srmgate, -2433.30004883, 495.10000610, 31.70000076, 2);[/pawn]

Obiectul adica poarta este asta!

[pawn]srmgate = CreateObject(980,-2433.30004883,495.10000610,31.70000076,0.00000000,0.00000000,204.00000000);[/pawn]

Astept Raspunsuri!

Don't be a FOOL!!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Comanda:

//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=SrM gate=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    if((newkeys==KEY_CROUCH))
    {
        if(PlayerToPoint(12.0,playerid,-2433.70, 496.72, 31.70))
        {
        if (PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
		{
			 if ((!adds)) {return 1;}
	 	     SetTimer("AddsOn10", addtimer36, 0);adds = 0;
             MoveObject(srmgate, -2444.15, 491.85, 31.70, 2);
             SCM(playerid, WHITE, "The gate is now open and will be closed in 4 seconds ");
             SetTimer("closesrmgate",4000,0);
        }
        }
    }
Obiectu:
srmgate = CreateObject(980, -2433.70, 496.72, 31.70,   0.00, 0.00, 25.00);

i0418xcttya707ofg.jpg

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.