A freaking door
#6

Quote:
Originally Posted by varthshenon
Посмотреть сообщение

i think hes talking about MoveObject..

well take this ..

On top of script
pawn Код:
new door;
new GateStatus;
Under OnGameModtInt
pawn Код:
door = CreatObject(X,Y,Z);
and here the cmd
pawn Код:
if(strcmp(cmdtext, "/door", true) == 0)
    {
    if(GateStatus == 0)
        {
        MoveObject(door, Open Cords, 3.0);
        GateStatus = 1;
        return 1;
        }
    if(GateStatus == 1)
    {

    MoveObject(door, Closing Cords, 3.0);
    GateStatus = 0;
    }
    return 1;
    }
Reply


Messages In This Thread
A freaking door - by Jimmeh! - 06.08.2011, 14:40
Re: A freaking door - by Jimmeh! - 06.08.2011, 16:43
Re: A freaking door - by =WoR=Varth - 06.08.2011, 16:47
Re: A freaking door - by Jimmeh! - 06.08.2011, 16:47
Re: A freaking door - by =WoR=Varth - 06.08.2011, 16:54
Re: A freaking door - by [bs]_lancer - 06.08.2011, 18:57
Re: A freaking door - by =WoR=Varth - 06.08.2011, 19:00
Re: A freaking door - by [bs]_lancer - 06.08.2011, 19:05

Forum Jump:


Users browsing this thread: 1 Guest(s)