SA-MP Forums Archive
Adding car for the shop (bad english -.- ) - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Adding car for the shop (bad english -.- ) (/showthread.php?tid=191191)



Adding car for the shop (bad english -.- ) - Dannu13 - 18.11.2010

Hy! Is anyone able to do these coordinates so that these sales should be? The first four boats of the bullet 5 and 6 and 7 of the lawn is a helicopter, majerwik.

****** Glossary


AddStaticVehicle(454,-2233.1082,2391.4265,0.1556,45.9606,0,1); // sailing
AddStaticVehicle(454,-2221.9111,2398.5869,0.0929,42.6189,1,1); // sailing
AddStaticVehicle(484,-2232.5522,2450.9089,0.2900,225.4840,0,0); // sailing
AddStaticVehicle(484,-2239.4688,2440.2356,0.1190,223.0288,1,1); // sailing
AddStaticVehicle(541,-2387.6899,2262.7966,1.1730,64.0934,1,1); // bullet
AddStaticVehicle(572,-2390.3650,2266.0073,1.1278,63.5073,6,6); // minitracktor
AddStaticVehicle(487,-2377.9080,2273.6772,11.9769,359.0318,1,1); //Majervik


Re: Adding car for the shop (bad english -.- ) - ExeC - 18.11.2010

Sorry, i don't fully understand what you're trying to tell, but do you want to make those vehicles spawn at the start?

Because that's not a problem, just add them under:

pawn Код:
public OnGameModeInit()
{
    AddStaticVehicle(454,-2233.1082,2391.4265,0.1556,45.9606,0,1); // sailing
    AddStaticVehicle(454,-2221.9111,2398.5869,0.0929,42.6189,1,1); // sailing
    AddStaticVehicle(484,-2232.5522,2450.9089,0.2900,225.4840,0,0); // sailing
    AddStaticVehicle(484,-2239.4688,2440.2356,0.1190,223.0288,1,1); // sailing
    AddStaticVehicle(541,-2387.6899,2262.7966,1.1730,64.0934,1,1); // bullet
    AddStaticVehicle(572,-2390.3650,2266.0073,1.1278,63.5073,6,6); // minitracktor
    AddStaticVehicle(487,-2377.9080,2273.6772,11.9769,359.0318,1,1); //Majervik
    return 1;
}



Re: Adding car for the shop (bad english -.- ) - Dannu13 - 18.11.2010

Quote:
Originally Posted by ExeC
Посмотреть сообщение
Sorry, i don't fully understand what you're trying to tell, but do you want to make those vehicles spawn at the start?

Because that's not a problem, just add them under:

pawn Код:
public OnGameModeInit()
{
    AddStaticVehicle(454,-2233.1082,2391.4265,0.1556,45.9606,0,1); // sailing
    AddStaticVehicle(454,-2221.9111,2398.5869,0.0929,42.6189,1,1); // sailing
    AddStaticVehicle(484,-2232.5522,2450.9089,0.2900,225.4840,0,0); // sailing
    AddStaticVehicle(484,-2239.4688,2440.2356,0.1190,223.0288,1,1); // sailing
    AddStaticVehicle(541,-2387.6899,2262.7966,1.1730,64.0934,1,1); // bullet
    AddStaticVehicle(572,-2390.3650,2266.0073,1.1278,63.5073,6,6); // minitracktor
    AddStaticVehicle(487,-2377.9080,2273.6772,11.9769,359.0318,1,1); //Majervik
    return 1;
}
i need a cordinats and ive add the car the carshop wtatever sorry fr bad engish :S
not in the gm but the txt file>>cars.txt


Re: Adding car for the shop (bad english -.- ) - ExeC - 18.11.2010

If you need the X, Y, Z positions, here they are...

pawn Код:
-2233.1082,2391.4265,0.1556 // sailing
-2221.9111,2398.5869,0.0929 // sailing
-2232.5522,2450.9089,0.2900 // sailing
-2239.4688,2440.2356,0.1190 // sailing
-2387.6899,2262.7966,1.1730 // bullet
-2390.3650,2266.0073,1.1278 // minitracktor
-2377.9080,2273.6772,11.9769 //Majervik



Re: Adding car for the shop (bad english -.- ) - Dannu13 - 18.11.2010

Quote:
Originally Posted by ExeC
Посмотреть сообщение
If you need the X, Y, Z positions, here they are...

pawn Код:
-2233.1082,2391.4265,0.1556 // sailing
-2221.9111,2398.5869,0.0929 // sailing
-2232.5522,2450.9089,0.2900 // sailing
-2239.4688,2440.2356,0.1190 // sailing
-2387.6899,2262.7966,1.1730 // bullet
-2390.3650,2266.0073,1.1278 // minitracktor
-2377.9080,2273.6772,11.9769 //Majervik
but same ... for the sailing and bullet... 470,-1399.078002,2634.630371,55.709957,88.430244,79,79, Dealership,Patriot,70000,,0,1