gate question
#2

Quote:
Originally Posted by justinkomnuga
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/close", true) == 0)
    {
    MoveObject(obj, X, Y, Z, 5);
    SendClientMessage(playerid, 0xFF000000, "Gate is closing");
    return 1;
    }
    return 0;
}
X, Y, Z are the coords of the old position (where the object has been spawned mostly =P)
Reply


Messages In This Thread
gate question - by justinkomnuga - 06.04.2010, 09:54
Re: gate question - by Last_Stand_Guardian - 06.04.2010, 09:59
Re: gate question - by justinkomnuga - 06.04.2010, 10:03
Re: gate question - by Jay420 - 06.04.2010, 10:13
Re: gate question - by justinkomnuga - 06.04.2010, 10:17
Re: gate question - by DeadalusNetwork - 06.04.2010, 10:21
Re: gate question - by DeadalusNetwork - 06.04.2010, 10:22
Re: gate question - by justinkomnuga - 06.04.2010, 10:25
Re: gate question - by justinkomnuga - 06.04.2010, 10:27
Re: gate question - by biltong - 06.04.2010, 10:30

Forum Jump:


Users browsing this thread: 2 Guest(s)