Jump to content
  • 0

MoveObject Inchidere automata


Ripar

Question

Deci la Move Object sa se deschida automat

public OnGameModeExit()

{

        return 1;

}

public OnPlayerCommandText(playerid, cmdtext[])

{

       if (strcmp(cmdtext, "/killergateclose", true) == 0){

        MoveObject(killergate, 986, 1610.905151, -1882.201538, 14.249749);

        return 1;

        }

       if (strcmp(cmdtext, "/killergateopen", true) == 0){

        MoveObject(killergate, 986, 1610.905151, -1882.201538, 14.249749);

        return 1;

        }

return 0;

}

ce sterg si ce las si ce adaug ?

va rog mult asta e ultimu topic pe subectul asta. deci va rog

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0
Guest David Paul

Wa femeie :

       if (strcmp(cmdtext, "/killergateopen", true) == 0){
        MoveObject(killergate, 986, 1610.905151, -1882.201538, 14.249749);
        SetTimer("killergateclose",3000, false);        
return 1;
}
        

Apoi la
Adaugi:

public killergateclose()
{
	MoveObject(killergate, 986, 1610.905151, -1882.201538, 14.249749);

}

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.