Quote:
Originally Posted by bensmart469
use /save at the points where you want the boat to go, then go to documents > gta san andreas user files > samp > savedpositions.txt and just copy your co ords from there
|
ok i did as you said and it's like this:
Код:
//This is our ship route points you can modify this as to your wish
new Float:gShipRoutePoints[NUM_SHIP_ROUTE_POINTS][6] = {
{-799.1663,1372.5203, 0.00, 0.00, 0.00, 144.84},
{-685.0161,1376.8007, 0.00, 0.00, 0.00, 189.24},
{-597.1412,1366.8323, 0.00, 0.00, 0.00, 215.22},
{-568.5583,1304.4415, 0.00, 0.00, 0.00, 215.22},
{-511.7189,1203.3120, 0.00, 0.00, 0.00, 190.50},
{-468.4861,1142.9061, 0.00, 0.00, 0.00, 156.36},
{-441.7712,1148.7556, 0.00, 0.00, 0.00, 153.36},
{-425.9339,1162.8944, 0.00, 0.02,-0.06, 457.14}
};
BUT I GET: this error
Код:
C:\Users\Hasitha_Kaumudi\Documents\Flies\Gamemode\filterscripts\Ship.pwn(62) : error 052: multi-dimensional arrays must be fully initialized
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
NOTE: I ONLY PUT FIRST 2 CORDS OF SAVED POSITIONS
here are the save positions i got from samp "rawpositions" originals
Код:
-799.1663,1372.5203,-0.5477,272.1577 ;
-685.0161,1376.8007,-0.5084,273.2234 ;
-597.1412,1366.8323,-0.5094,220.6340 ;
-568.5583,1304.4415,-0.5794,211.5726 ;
-511.7189,1203.3120,-0.5867,217.0721 ;
-468.4861,1142.9061,-0.5568,202.2758 ;
-441.7712,1148.7556,-0.6408,293.8118 ;
-425.9339,1162.8944,-0.5095,317.7924 ;
please help me guys!