I downloaded the script below but I don't know how to add a boat to it, this is what I did but the boats won't appear:
pawn Код:
public OnFilterScriptInit()//Modeldaten (Koordinaten aus Map Editor) auf Ursprung verschieben und nach Norden ausrichten
{
CreateShipEx(0,-2244.5212,2244.6453,270.251,30);
CreateShip(1,-2467.3696,2069.1877,139.3222);
CreateShip(2,-2234.9722,2054.5339,96.5145);
CreateShip(3,-2356.0388,2185.0198,170.6537);
CreateShip(4,-2174.4722,2326.6221,189.5473);''
CreateShip(5,-2076.2214,2150.7319,224.0);
CreateShip(6,-2453.1001,1749.8188,90.4782);
#if defined MAP_ANDREAS_MODE_FULL
MapAndreas_Init(MAP_ANDREAS_MODE_FULL);
#endif
for(new i=0;i<MAX_SHIPS;i++)
for(new j=0;j<MAX_SHIP_OBJECTS;j++)
CreatedShipObjects[i][j]=INVALID_OBJECT_ID;
//etc
Read the answer I posted in the Double-O-Ship topic.