Scrip de Portгo, como adicionar sу pra Cop?
#1

peguei um scrip de portao no LSPD mas nгo ta dando pra colocar sу pra cop abrir colocando if isacop num sei que la nem member] == 2 ect... pq fica dando erro

a parte dos comandos й essa:
Quote:

if (strcmp(cmdtext, "/lspdpor", true)==0)
{
MoveObject(LSPDGATE,1539.670,-1628.510,15.928, 3.5);//Fechado
MoveObject(LSPDGATE,1539.567,-1637.498,16.035, 3.5);//Aberto
SetTimer("GateCloseLSPDGATE", 5000, 0);
SendClientMessage(playerid, COLOR_YELLOW,"Seja Bem Vindo ao LSPD, o portгo irб se fechar em 5 Segundos");
return 1;
}
if (strcmp(cmdtext, "/lspdgar", true)==0)
{
MoveObject(LSPDGAR,1586.284,-1638.433,15.964, 3.5);//Fechado
MoveObject(LSPDGAR,1576.977,-1638.293,15.929, 3.5);//Aberto
SetTimer("GateCloseLSPDGAR", 5000, 0);
SendClientMessage(playerid, COLOR_YELLOW,"Seja Bem Vindo а Garagem do LSPD, o portгo irб se fechar em 5 Segundos");
return 1;
}
if (strcmp(cmdtext, "/LSPDEL1", true)==0)
{
MoveObject(EL1,1569.070,-1635.112,13.817, 3.5);//Encima
MoveObject(EL1,1569.069,-1635.136,28.482, 3.5);//Embaixo
SetTimer("EL1DOWN", 9000, 0);
SendClientMessage(playerid, COLOR_YELLOW, "Seja Bem Vindo ao Elevador do LSPD, ele irб subir/descer e voltar em 9 Segundos");
return 1;
}
if (strcmp(cmdtext, "/LSPDEL2", true)==0)
{
MoveObject(EL2,1568.493,-1666.246,28.660, 3.5);//Encima
MoveObject(EL2,1568.466,-1666.350,41.350, 3.5);//Embaixo
SetTimer("EL2DOWN", 9000, 0);
SendClientMessage(playerid, COLOR_YELLOW,"Seja Bem Vindo ao Elevador do LSPD, ele irб subir/descer e voltar em 9 Segundos");
return 1;
}
if (strcmp(cmdtext, "/LSPDEL3", true)==0)
{
MoveObject(EL3,1573.717,-1685.977,41.382, 3.5);//Encima
MoveObject(EL3,1573.691,-1685.959,28.746, 3.5);//Embaixo
SetTimer("EL3DOWN", 9000, 0);
SendClientMessage(playerid, COLOR_YELLOW,"Seja Bem Vindo ao Elevador do LSPD, ele irб subir/descer e voltar em 9 Segundos");
return 1;
}
return 0;
}

que que eu adiciono pra sу cop abrir sem dar pau no script?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)