[FilterScript] Cable Car System

Spread the love

[FilterScript] Cable Car System

objects
CreateObject(16082,-1470.90002441,-1589.19995117,104.59999847,0.00000000,0.00000000,181.00000000); //object(des_quarryplatform) (1)
CreateObject(16082,-2253.09960938,-1703.79980469,482.39999390,0.00000000,0.49987793,10.49743652); //object(des_quarryplatform) (2)
CreateObject(3109,-2244.30004883,-1700.19995117,485.86599731,359.99780273,90.25021362,99.99993896); //object(imy_la_door) (1)
CreateObject(3109,-1478.59997559,-1591.30004883,108.13699341,359.99450684,90.24700928,91.24880981); //object(imy_la_door) (2)

.fs

#include

#pragma tabsize 0

//obje tanıtımları
new obje1;

//new obje7;
//new obje8;
//new obje9;
//new obje10;
//new obje11;
//new obje12;
//new obje13;
//new obje14;
//new obje15;
//new obje16;
//new obje17;
//new obje18;
//new obje19;
//new obje20;
//new obje21;
//new obje22;
////new obje23;
//new obje24;*//

public OnFilterScriptInit()

{

obje1 = CreateObject(19316,-2243.11,-1699.92,488.38,0.00,0.00,100.00);

}

//Komutlar
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(“/basla”, cmdtext, true, 10) == 0)
{
MoveObject(obje1, -2243.11,-1699.92,488.38, 5, 0.00,0.00,100.00);

return 1;
}
if (strcmp(“/basla2”, cmdtext, true, 10) == 0)
{
MoveObject(obje1, -2239.70,-1704.37,488.35, 5, 0.00,0.00,178.00);

return 1;
}

if (strcmp(“/basla3”, cmdtext, true, 10) == 0)
{
MoveObject(obje1, -1484.98,-1595.17,112.24, 25, 0.00,0.00,180.00);

return 1;
}
if (strcmp(“/basla4”, cmdtext, true, 10) == 0)
{
MoveObject(obje1, -1481.28,-1591.37,110.73, 5, 0.00,0.00,270.60);

return 1;
}
if (strcmp(“/basla5”, cmdtext, true, 10) == 0)
{

MoveObject(obje1, -1485.00,-1587.60,112.22, 5, 0.00,0.00,2.00);

return 1;
}

if (strcmp(“/basla6”, cmdtext, true, 10) == 0)
{

MoveObject(obje1, -2241.28,-1695.85,488.63, 265,0.00,0.00,0.00);

return 1;
}

return 0;
}

//CREDITS:N20(Rapido/Cebo)

Bir Cevap Yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir