Help me !!
#6

pawn Код:
#include <a_samp>
new move;
new mainigais;


public OnGameModeInit()
{
    mainigais = 0;
    move = CreateObject(8040, -465.149445, 2084.196045, 60.769142, 0.0000, 0.0000, 318.6701);
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp("/aktivizet", cmdtext, true) == 0)
    {
        if(mainigais == 0)
        {
            SendClientMessage(playerid, 0x33AA33AA,"Tu aktivizeji liftu.";
            SetTimer("move", 10000, true);
        }
        return 1;
    }
    return 0;
}

public move ()
{
    MoveObject(move, -465.262878, 2084.308838, 128.973648, 3); //augshaa
    SetTimer("move2", 60000, true);
}

public move2 ()
{
    MoveObject(move, -465.149445, 2084.196045, 60.769142, 3); //lejaa
}
Reply


Messages In This Thread
Help me !! - by Reinix - 27.09.2009, 12:51
Re: Help me !! - by [XST]O_x - 27.09.2009, 13:37
Re: Help me !! - by Reinix - 27.09.2009, 13:51
Re: Help me !! - by Correlli - 27.09.2009, 14:01
Re: Help me !! - by Reinix - 27.09.2009, 14:04
Re: Help me !! - by MadeMan - 27.09.2009, 14:07
Re: Help me !! - by Correlli - 27.09.2009, 14:09
Re: Help me !! - by Reinix - 27.09.2009, 14:16
Re: Help me !! - by Reinix - 27.09.2009, 14:23

Forum Jump:


Users browsing this thread: 3 Guest(s)