SA-MP Forums Archive
[FilterScript] Moving Ship - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Moving Ship (/showthread.php?tid=332505)

Pages: 1 2


Re: Moving Ship - Faisal_khan - 12.04.2012

Quote:
Originally Posted by Unknownich
Посмотреть сообщение
I dont wanna be rude but why should someone download this script when original script by Kye is much better. You added teleport to the ship but what if ship isnt on that position?! If you edit some1s script make it better.
Yeah I know that Kye is much better but Kalcor's ship makes many stops they have commands too but this one is simple non-stop ship which just roams about. And by the way the tele command is for the one who downloaded the FS to check if the ship works and the ship starts moving 30 seconds later when the FS is loaded.


Re: Moving Ship - antonisrodos94 - 12.04.2012

Nice FS


Re: Moving Ship - ninjahippie - 14.04.2012

Here is the code again without the warnings

Код:
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*\
||                                                                                            ||
||                                              Created 8th April 2012 By Faisal Khan (faisal3325@gmail.com).                                 ||
||              WARNING: Do NOT Claim This As Your Own. Do NOT Re-Release This Without Permission.    ||
||                                                              DO NOT SELL THIS SCRIPT!                                                                  ||
||                                        Credits: Faisal_khan, Kye and Ahemad_khan                                                ||
\*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/

//=================================INCLUDES=================================//
#include <a_samp>
//=================================DEFINES==================================//
#define FILTERSCRIPT
#define NUM_SHIP_ROUTE_POINTS   25
#define SHIP_MOVE_SPEED         10.0
#define SHIP_DRAW_DISTANCE      300.0
#define NUM_SHIP_ATTACHMENTS    10
#define SHIP_HULL_ID            9585
//--------------------------------------------------------------------------//
new gShipsAttachments[NUM_SHIP_ROUTE_POINTS];
new gMainShipObjectId;
new gShipCurrentPoint = 1;
new Float:gShipHullOrigin[3] =
{ -2409.8438, 1544.9453, 7.0000 }; // so we can convert world space to model space for attachment positions

new gShipAttachmentModelIds[NUM_SHIP_ATTACHMENTS] = {
9586, // Ship main platform
9761, // Ship rails
9584, // Bridge exterior
9698, // Bridge interior
9821, // Bridge interior doors
9818, // Bridge radio desk
9819, // Captain's desk
9822, // Captain's seat
9820, // Bridge ducts and lights
9590  // Cargo bay area
};

new Float:gShipAttachmentPos[NUM_SHIP_ATTACHMENTS][3] = {
// these are world space positions used on the original cargo ship in the game
// they will be converted to model space before attaching
{-2412.1250, 1544.9453, 17.0469},
{-2411.3906, 1544.9453, 27.0781},
{-2485.0781, 1544.9453, 26.1953},
{-2473.5859, 1543.7734, 29.0781},
{-2474.3594, 1547.2422, 24.7500},
{-2470.2656, 1544.9609, 33.8672},
{-2470.4531, 1551.1172, 33.1406},
{-2470.9375, 1550.7500, 32.9063},
{-2474.6250, 1545.0859, 33.0625},
{-2403.5078, 1544.9453, 8.7188}
};
//This is our ship route points you can modify this as to your wish
new Float:gShipRoutePoints[NUM_SHIP_ROUTE_POINTS][6] = {
{-1982.57, 2052.56, 0.00,   0.00, 0.00, 144.84},
{-2178.63, 2103.67, 0.00,   0.00, 0.00, 189.24},
{-2366.64, 2020.28, 0.00,   0.00, 0.00, 215.22},
{-2539.06, 1892.52, 0.00,   0.00, 0.00, 215.22},
{-2722.79, 1787.85, 0.00,   0.00, 0.00, 205.62},
{-2918.51, 1729.60, 0.00,   0.00, 0.00, 190.50},
{-3124.70, 1758.03, 0.00,   0.00, 0.00, 156.36},
{-3316.51, 1850.08, 0.00,   0.00, 0.00, 153.36},
{-3541.12, 1977.99, 0.00,   0.00, 0.00, 145.74},
{-3772.54, 2140.70, 0.00,   0.00, 0.00, 144.96},
{-4078.78, 2272.93, 0.00,   0.00, 0.00, 167.52},
{-4382.22, 2222.52, 0.00,   0.36, 0.06, 206.70},
{-4578.11, 2013.70, 0.00,   0.36, 0.54, 244.80},
{-4603.54, 1718.89, 0.00,   1.92, -0.36, 283.26},
{-4463.49, 1504.50, 0.00,   0.92, -0.36, 316.32},
{-4228.00, 1380.52, 0.00,   0.92, -0.36, 342.54},
{-3950.14, 1346.96, 0.00,   0.02, -0.06, 359.64},
{-3646.69, 1344.57, 0.00,   0.02, -0.06, 359.64},
{-3350.01, 1410.39, 0.00,   0.02, -0.06, 384.48},
{-2854.63, 1651.56, 0.00,   0.02, -0.06, 378.54},
{-2590.84, 1667.61, 0.00,   0.02, -0.06, 356.28},
{-2345.84, 1633.19, 0.00,   0.02, -0.06, 350.28},
{-2106.14, 1639.23, 0.00,   0.02, -0.06, 378.36},
{-1943.63, 1743.98, 0.00,   0.02, -0.06, 411.42},
{-1891.39, 1907.57, 0.00,   0.02, -0.06, 457.14}
};

//==================================FORWARDS============================================//
forward StartMovingTimer();
//=======================================================================================//
public OnFilterScriptInit()
{
        print("\n--------------------------------");
        print("Moving Ship By Faisal_khan");
        print("--------------------------------\n");

        gMainShipObjectId = CreateObject(SHIP_HULL_ID, gShipRoutePoints[0][0], gShipRoutePoints[0][1], gShipRoutePoints[0][2],
                                                                        gShipRoutePoints[0][3], gShipRoutePoints[0][4], gShipRoutePoints[0][5], SHIP_DRAW_DISTANCE);

        new x=0;
        while(x != NUM_SHIP_ATTACHMENTS) {
            gShipsAttachments[x] = CreateObject(gShipAttachmentModelIds[x], 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, SHIP_DRAW_DISTANCE);
            AttachObjectToObject(gShipsAttachments[x], gMainShipObjectId,
                                        gShipAttachmentPos[x][0] - gShipHullOrigin[0],
                                        gShipAttachmentPos[x][1] - gShipHullOrigin[1],
                                        gShipAttachmentPos[x][2] - gShipHullOrigin[2],
                                        0.0, 0.0, 0.0);
			x++;
        }
        SetTimer("StartMovingTimer",30*1000,0); // pause at route 0 for 30 seconds
        return 1;
}

public StartMovingTimer()
{
        MoveObject(gMainShipObjectId,gShipRoutePoints[gShipCurrentPoint][0],
                                   gShipRoutePoints[gShipCurrentPoint][1],
                                                           gShipRoutePoints[gShipCurrentPoint][2],
                                                           SHIP_MOVE_SPEED / 3.0,
                                                           gShipRoutePoints[gShipCurrentPoint][3],
                                                           gShipRoutePoints[gShipCurrentPoint][4],
                                                           gShipRoutePoints[gShipCurrentPoint][5]);
}

public OnObjectMoved(objectid)
{
        if(objectid != gMainShipObjectId) return 0;

        if(gShipCurrentPoint > 0 && !(gShipCurrentPoint % 5)) {
            // play some seagulls audio every 5 points
                PlaySoundForPlayersInRange(6200, 200.0, gShipRoutePoints[gShipCurrentPoint][0],
                                                gShipRoutePoints[gShipCurrentPoint][1],
                                                gShipRoutePoints[gShipCurrentPoint][2]);
        }

	    gShipCurrentPoint++;

		if(gShipCurrentPoint == NUM_SHIP_ROUTE_POINTS) {
                gShipCurrentPoint = 0;

                MoveObject(gMainShipObjectId,gShipRoutePoints[gShipCurrentPoint][0],
                                   gShipRoutePoints[gShipCurrentPoint][1],
                                                           gShipRoutePoints[gShipCurrentPoint][2],
                                                           SHIP_MOVE_SPEED / 2.0,
                                                           gShipRoutePoints[gShipCurrentPoint][3],
                                                           gShipRoutePoints[gShipCurrentPoint][4],
                                                           gShipRoutePoints[gShipCurrentPoint][5]);
				return 1;
        }

        if(gShipCurrentPoint == 1) {
            SetTimer("StartMovingTimer",30*1000,0);
            return 1;
        }

    	MoveObject(gMainShipObjectId,gShipRoutePoints[gShipCurrentPoint][0],
                                   gShipRoutePoints[gShipCurrentPoint][1],
                                                           gShipRoutePoints[gShipCurrentPoint][2],
                                                           SHIP_MOVE_SPEED,
                                                           gShipRoutePoints[gShipCurrentPoint][3],
                                                           gShipRoutePoints[gShipCurrentPoint][4],
                                                           gShipRoutePoints[gShipCurrentPoint][5]);

        return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/tele", true))
    {
        SetPlayerPos(playerid,-2100, 2052.56, 0);
        return 1;
    }
    return 0;
}
//=================================STOCK======================================//
stock PlaySoundForPlayersInRange(soundid, Float:range, Float:x, Float:y, Float:z)
{
        for(new i=0; i<MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i) && IsPlayerInRangeOfPoint(i,range,x,y,z))
            {
                    PlayerPlaySound(i, soundid, x, y, z);
            }
        }
}



Re: Moving Ship - StjepanSilver - 14.04.2012

Cool


Re: Moving Ship - Faisal_khan - 14.04.2012

Quote:
Originally Posted by ninjahippie
Посмотреть сообщение
Here is the code again without the warnings

Код:
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*\
||                                                                                            ||
||                                              Created 8th April 2012 By Faisal Khan (faisal3325@gmail.com).                                 ||
||              WARNING: Do NOT Claim This As Your Own. Do NOT Re-Release This Without Permission.    ||
||                                                              DO NOT SELL THIS SCRIPT!                                                                  ||
||                                        Credits: Faisal_khan, Kye and Ahemad_khan                                                ||
\*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/

//=================================INCLUDES=================================//
#include <a_samp>
//=================================DEFINES==================================//
#define FILTERSCRIPT
#define NUM_SHIP_ROUTE_POINTS   25
#define SHIP_MOVE_SPEED         10.0
#define SHIP_DRAW_DISTANCE      300.0
#define NUM_SHIP_ATTACHMENTS    10
#define SHIP_HULL_ID            9585
//--------------------------------------------------------------------------//
new gShipsAttachments[NUM_SHIP_ROUTE_POINTS];
new gMainShipObjectId;
new gShipCurrentPoint = 1;
new Float:gShipHullOrigin[3] =
{ -2409.8438, 1544.9453, 7.0000 }; // so we can convert world space to model space for attachment positions

new gShipAttachmentModelIds[NUM_SHIP_ATTACHMENTS] = {
9586, // Ship main platform
9761, // Ship rails
9584, // Bridge exterior
9698, // Bridge interior
9821, // Bridge interior doors
9818, // Bridge radio desk
9819, // Captain's desk
9822, // Captain's seat
9820, // Bridge ducts and lights
9590  // Cargo bay area
};

new Float:gShipAttachmentPos[NUM_SHIP_ATTACHMENTS][3] = {
// these are world space positions used on the original cargo ship in the game
// they will be converted to model space before attaching
{-2412.1250, 1544.9453, 17.0469},
{-2411.3906, 1544.9453, 27.0781},
{-2485.0781, 1544.9453, 26.1953},
{-2473.5859, 1543.7734, 29.0781},
{-2474.3594, 1547.2422, 24.7500},
{-2470.2656, 1544.9609, 33.8672},
{-2470.4531, 1551.1172, 33.1406},
{-2470.9375, 1550.7500, 32.9063},
{-2474.6250, 1545.0859, 33.0625},
{-2403.5078, 1544.9453, 8.7188}
};
//This is our ship route points you can modify this as to your wish
new Float:gShipRoutePoints[NUM_SHIP_ROUTE_POINTS][6] = {
{-1982.57, 2052.56, 0.00,   0.00, 0.00, 144.84},
{-2178.63, 2103.67, 0.00,   0.00, 0.00, 189.24},
{-2366.64, 2020.28, 0.00,   0.00, 0.00, 215.22},
{-2539.06, 1892.52, 0.00,   0.00, 0.00, 215.22},
{-2722.79, 1787.85, 0.00,   0.00, 0.00, 205.62},
{-2918.51, 1729.60, 0.00,   0.00, 0.00, 190.50},
{-3124.70, 1758.03, 0.00,   0.00, 0.00, 156.36},
{-3316.51, 1850.08, 0.00,   0.00, 0.00, 153.36},
{-3541.12, 1977.99, 0.00,   0.00, 0.00, 145.74},
{-3772.54, 2140.70, 0.00,   0.00, 0.00, 144.96},
{-4078.78, 2272.93, 0.00,   0.00, 0.00, 167.52},
{-4382.22, 2222.52, 0.00,   0.36, 0.06, 206.70},
{-4578.11, 2013.70, 0.00,   0.36, 0.54, 244.80},
{-4603.54, 1718.89, 0.00,   1.92, -0.36, 283.26},
{-4463.49, 1504.50, 0.00,   0.92, -0.36, 316.32},
{-4228.00, 1380.52, 0.00,   0.92, -0.36, 342.54},
{-3950.14, 1346.96, 0.00,   0.02, -0.06, 359.64},
{-3646.69, 1344.57, 0.00,   0.02, -0.06, 359.64},
{-3350.01, 1410.39, 0.00,   0.02, -0.06, 384.48},
{-2854.63, 1651.56, 0.00,   0.02, -0.06, 378.54},
{-2590.84, 1667.61, 0.00,   0.02, -0.06, 356.28},
{-2345.84, 1633.19, 0.00,   0.02, -0.06, 350.28},
{-2106.14, 1639.23, 0.00,   0.02, -0.06, 378.36},
{-1943.63, 1743.98, 0.00,   0.02, -0.06, 411.42},
{-1891.39, 1907.57, 0.00,   0.02, -0.06, 457.14}
};

//==================================FORWARDS============================================//
forward StartMovingTimer();
//=======================================================================================//
public OnFilterScriptInit()
{
        print("\n--------------------------------");
        print("Moving Ship By Faisal_khan");
        print("--------------------------------\n");

        gMainShipObjectId = CreateObject(SHIP_HULL_ID, gShipRoutePoints[0][0], gShipRoutePoints[0][1], gShipRoutePoints[0][2],
                                                                        gShipRoutePoints[0][3], gShipRoutePoints[0][4], gShipRoutePoints[0][5], SHIP_DRAW_DISTANCE);

        new x=0;
        while(x != NUM_SHIP_ATTACHMENTS) {
            gShipsAttachments[x] = CreateObject(gShipAttachmentModelIds[x], 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, SHIP_DRAW_DISTANCE);
            AttachObjectToObject(gShipsAttachments[x], gMainShipObjectId,
                                        gShipAttachmentPos[x][0] - gShipHullOrigin[0],
                                        gShipAttachmentPos[x][1] - gShipHullOrigin[1],
                                        gShipAttachmentPos[x][2] - gShipHullOrigin[2],
                                        0.0, 0.0, 0.0);
			x++;
        }
        SetTimer("StartMovingTimer",30*1000,0); // pause at route 0 for 30 seconds
        return 1;
}

public StartMovingTimer()
{
        MoveObject(gMainShipObjectId,gShipRoutePoints[gShipCurrentPoint][0],
                                   gShipRoutePoints[gShipCurrentPoint][1],
                                                           gShipRoutePoints[gShipCurrentPoint][2],
                                                           SHIP_MOVE_SPEED / 3.0,
                                                           gShipRoutePoints[gShipCurrentPoint][3],
                                                           gShipRoutePoints[gShipCurrentPoint][4],
                                                           gShipRoutePoints[gShipCurrentPoint][5]);
}

public OnObjectMoved(objectid)
{
        if(objectid != gMainShipObjectId) return 0;

        if(gShipCurrentPoint > 0 && !(gShipCurrentPoint % 5)) {
            // play some seagulls audio every 5 points
                PlaySoundForPlayersInRange(6200, 200.0, gShipRoutePoints[gShipCurrentPoint][0],
                                                gShipRoutePoints[gShipCurrentPoint][1],
                                                gShipRoutePoints[gShipCurrentPoint][2]);
        }

	    gShipCurrentPoint++;

		if(gShipCurrentPoint == NUM_SHIP_ROUTE_POINTS) {
                gShipCurrentPoint = 0;

                MoveObject(gMainShipObjectId,gShipRoutePoints[gShipCurrentPoint][0],
                                   gShipRoutePoints[gShipCurrentPoint][1],
                                                           gShipRoutePoints[gShipCurrentPoint][2],
                                                           SHIP_MOVE_SPEED / 2.0,
                                                           gShipRoutePoints[gShipCurrentPoint][3],
                                                           gShipRoutePoints[gShipCurrentPoint][4],
                                                           gShipRoutePoints[gShipCurrentPoint][5]);
				return 1;
        }

        if(gShipCurrentPoint == 1) {
            SetTimer("StartMovingTimer",30*1000,0);
            return 1;
        }

    	MoveObject(gMainShipObjectId,gShipRoutePoints[gShipCurrentPoint][0],
                                   gShipRoutePoints[gShipCurrentPoint][1],
                                                           gShipRoutePoints[gShipCurrentPoint][2],
                                                           SHIP_MOVE_SPEED,
                                                           gShipRoutePoints[gShipCurrentPoint][3],
                                                           gShipRoutePoints[gShipCurrentPoint][4],
                                                           gShipRoutePoints[gShipCurrentPoint][5]);

        return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/tele", true))
    {
        SetPlayerPos(playerid,-2100, 2052.56, 0);
        return 1;
    }
    return 0;
}
//=================================STOCK======================================//
stock PlaySoundForPlayersInRange(soundid, Float:range, Float:x, Float:y, Float:z)
{
        for(new i=0; i<MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i) && IsPlayerInRangeOfPoint(i,range,x,y,z))
            {
                    PlayerPlaySound(i, soundid, x, y, z);
            }
        }
}
What warnings?

Thank you all.


Re: Moving Ship - ninjahippie - 18.04.2012

Quote:
Originally Posted by Faisal_khan
Посмотреть сообщение
What warnings?

Thank you all.
warning 217: loose indentation

Umm how would I make it have more than one stop ?


Re: Moving Ship - Niko_boy - 18.04.2012

Liked it!


Re: Moving Ship - Faisal_khan - 19.04.2012

Quote:
Originally Posted by ninjahippie
Посмотреть сообщение
warning 217: loose indentation

Umm how would I make it have more than one stop ?
As i said it earlier
These are our ships route points which can be edited further as your wish:
pawn Код:
new Float:gShipRoutePoints[NUM_SHIP_ROUTE_POINTS][6] = {
{-1982.57, 2052.56, 0.00,   0.00, 0.00, 144.84},
{-2178.63, 2103.67, 0.00,   0.00, 0.00, 189.24},
{-2366.64, 2020.28, 0.00,   0.00, 0.00, 215.22},
{-2539.06, 1892.52, 0.00,   0.00, 0.00, 215.22},
{-2722.79, 1787.85, 0.00,   0.00, 0.00, 205.62},
{-2918.51, 1729.60, 0.00,   0.00, 0.00, 190.50},
{-3124.70, 1758.03, 0.00,   0.00, 0.00, 156.36},
{-3316.51, 1850.08, 0.00,   0.00, 0.00, 153.36},
{-3541.12, 1977.99, 0.00,   0.00, 0.00, 145.74},
{-3772.54, 2140.70, 0.00,   0.00, 0.00, 144.96},
{-4078.78, 2272.93, 0.00,   0.00, 0.00, 167.52},
{-4382.22, 2222.52, 0.00,   0.36, 0.06, 206.70},
{-4578.11, 2013.70, 0.00,   0.36, 0.54, 244.80},
{-4603.54, 1718.89, 0.00,   1.92, -0.36, 283.26},
{-4463.49, 1504.50, 0.00,   0.92, -0.36, 316.32},
{-4228.00, 1380.52, 0.00,   0.92, -0.36, 342.54},
{-3950.14, 1346.96, 0.00,   0.02, -0.06, 359.64},
{-3646.69, 1344.57, 0.00,   0.02, -0.06, 359.64},
{-3350.01, 1410.39, 0.00,   0.02, -0.06, 384.48},
{-2854.63, 1651.56, 0.00,   0.02, -0.06, 378.54},
{-2590.84, 1667.61, 0.00,   0.02, -0.06, 356.28},
{-2345.84, 1633.19, 0.00,   0.02, -0.06, 350.28},
{-2106.14, 1639.23, 0.00,   0.02, -0.06, 378.36},
{-1943.63, 1743.98, 0.00,   0.02, -0.06, 411.42},
{-1891.39, 1907.57, 0.00,   0.02, -0.06, 457.14}
};
Thank you Niko


Re: Moving Ship - ninjahippie - 19.04.2012

Quote:
Originally Posted by Faisal_khan
Посмотреть сообщение
As i said it earlier
These are our ships route points which can be edited further as your wish:
pawn Код:
new Float:gShipRoutePoints[NUM_SHIP_ROUTE_POINTS][6] = {
{-1982.57, 2052.56, 0.00,   0.00, 0.00, 144.84},
{-2178.63, 2103.67, 0.00,   0.00, 0.00, 189.24},
{-2366.64, 2020.28, 0.00,   0.00, 0.00, 215.22},
{-2539.06, 1892.52, 0.00,   0.00, 0.00, 215.22},
{-2722.79, 1787.85, 0.00,   0.00, 0.00, 205.62},
{-2918.51, 1729.60, 0.00,   0.00, 0.00, 190.50},
{-3124.70, 1758.03, 0.00,   0.00, 0.00, 156.36},
{-3316.51, 1850.08, 0.00,   0.00, 0.00, 153.36},
{-3541.12, 1977.99, 0.00,   0.00, 0.00, 145.74},
{-3772.54, 2140.70, 0.00,   0.00, 0.00, 144.96},
{-4078.78, 2272.93, 0.00,   0.00, 0.00, 167.52},
{-4382.22, 2222.52, 0.00,   0.36, 0.06, 206.70},
{-4578.11, 2013.70, 0.00,   0.36, 0.54, 244.80},
{-4603.54, 1718.89, 0.00,   1.92, -0.36, 283.26},
{-4463.49, 1504.50, 0.00,   0.92, -0.36, 316.32},
{-4228.00, 1380.52, 0.00,   0.92, -0.36, 342.54},
{-3950.14, 1346.96, 0.00,   0.02, -0.06, 359.64},
{-3646.69, 1344.57, 0.00,   0.02, -0.06, 359.64},
{-3350.01, 1410.39, 0.00,   0.02, -0.06, 384.48},
{-2854.63, 1651.56, 0.00,   0.02, -0.06, 378.54},
{-2590.84, 1667.61, 0.00,   0.02, -0.06, 356.28},
{-2345.84, 1633.19, 0.00,   0.02, -0.06, 350.28},
{-2106.14, 1639.23, 0.00,   0.02, -0.06, 378.36},
{-1943.63, 1743.98, 0.00,   0.02, -0.06, 411.42},
{-1891.39, 1907.57, 0.00,   0.02, -0.06, 457.14}
};
Thank you Niko
I know that but that would only make it go past a point not stop for a wee bit for people to jump on


Re: Moving Ship - Faisal_khan - 19.04.2012

Try using SetTimer to stop it at a point for the people to hop in or make a tele command to tele to the ship when the player is near a port or near a ship.


Re: Moving Ship - Faisal_khan - 21.11.2012

Quote:
Originally Posted by XtremeR
Посмотреть сообщение
nice one
Quote:
Originally Posted by ashwinsekhari
Посмотреть сообщение
cooooooooooooooooooool man
Thanks all!


Re: Moving Ship - GordonP - 21.11.2012

Add matsiano.mats on skype, i will pay someone for making a route for me! (I'm lazy).


Re: Moving Ship - changeME - 21.11.2012

wow


Re: Moving Ship - theomanking - 21.11.2012

Nice one Fasial! Good work!
me Oman


Re: Moving Ship - Faisal_khan - 21.11.2012

Thanks all!


Re: Moving Ship - xXdaeminoXx - 14.03.2015

i dont show a ship, not works