Jump to content
  • 0

Problema MoveObject


[Funky]Anakin

Question

Salut.Am facut o comanda sa se deschida si inchida poarta dar nu se intampla nimic .

Uite comenzile

#include <a_samp>

#if defined FILTERSCRIPT

new aGate;

public OnGameModeInit()

{

aGate = CreateObject(modelid,1024.599609375, -389, 72.5, 1, 2, 12345789999);

}

public OnPlayerCommandText(playerid, cmdtext[])

if(!strcmp(cmdtext, "/open1", true, 14))

    {

    MoveObject(aGate, 1024.599609375, -389, 72.5, 3.0);

    SendClientMessage(playerid, 0x00BAFFFF,, "Poarta a fost deschisa.");

    return 1;

    }

    if(!strcmp(cmdtext, "/close1", true, 16))

    {

    MoveObject(aGate,1024.599609375, -389, 72.5 ,3.0);

    SendClientMessage(playerid, 0x00BAFFFF, "Poarta a fost inchisa.");

    return 1;

    }

Imi scrie poarta a fost deschisa/inchisa dar nu se deschide sau inchide.

Multumesc

idiots.png
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

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.