[AJUDA] Codigo
#8

pawn Код:
new P1, P2;

// OnGameModeInit

P1 = CreateObject(988,-2033.45776367,-102.98937988,38.94689178,0.00000000,0.00000000,359 .96704102);
P2 = CreateObject(988,-2022.41369629,-119.42974854,38.94689178,0.00000000,0.00000000,359 .96704102);

// OnPlayerCommandText

if(strcmp(cmdtext, "/abrir", true) == 0)
{
    MoveObject(P1, -2033.45776367, -102.98937988,32.94689178, 4);
    MoveObject(P2, -2022.41369629,-119.42974854,38.94689178, 4);
    return true;
}

if(strcmp(cmdtext, "/fechar", true) == 0)
{
    MoveObject(P1, -2033.45776367, -102.98937988, 38.94689178, 4);
    MoveObject(P2, -2022.41369629, -119.42974854, 38.94689178, 4);
    return 1;
}
Reply


Messages In This Thread
[AJUDA] Codigo - by badekl - 01.08.2011, 11:09
Re: [AJUDA] Codigo - by [NWD]Jim._.Carrey - 01.08.2011, 14:17
Re: [AJUDA] Codigo - by badekl - 01.08.2011, 15:20
Re: [AJUDA] Codigo - by Josma_cmd - 01.08.2011, 15:32
Re: [AJUDA] Codigo - by ASDF - 01.08.2011, 15:36
Re: [AJUDA] Codigo - by badekl - 01.08.2011, 18:58
Re: [AJUDA] Codigo - by ASDF - 01.08.2011, 19:18
Re: [AJUDA] Codigo - by JonathanFeitosa - 01.08.2011, 19:48
Re: [AJUDA] Codigo - by Red Smoke - 01.08.2011, 20:01
Re: [AJUDA] Codigo - by badekl - 01.08.2011, 20:34

Forum Jump:


Users browsing this thread: 1 Guest(s)