Jump to content
  • 0

Problema masini


Guest sergyu2410

Question

Guest sergyu2410

cum pot sa pun coordonatele la masini intr-un script si apoi sa le compilez.  ???

Apoi sa pun amx-ul in filterscripts si sa se spawndeze acele masini pe server.

Ex:

AddStaticVehicle(509,1663.0225,-2242.8103,13.0556,12.7434,61,1); //
AddStaticVehicle(509,1661.8901,-2243.0388,13.0532,4.1324,7,1); //
AddStaticVehicle(509,1660.8636,-2243.2327,13.0500,0.9635,25,1); //
AddStaticVehicle(509,1660.2159,-2243.5198,13.0473,33.3107,74,1); //
AddStaticVehicle(509,1631.5179,-2240.2834,13.0193,87.3841,36,1); //
AddStaticVehicle(509,1632.1171,-2241.3081,13.0187,89.4833,53,1); //
AddStaticVehicle(509,1632.1438,-2242.3027,13.0175,97.9073,74,1); //
AddStaticVehicle(509,1664.3651,-2242.8730,13.0555,358.5424,7,1); //
AddStaticVehicle(509,1632.9258,-2243.3376,13.0134,89.3005,30,1); //
AddStaticVehicle(555,1561.9083,-2254.2942,13.2304,90.9479,60,1); //
AddStaticVehicle(504,1560.8875,-2237.7422,13.3403,89.5242,66,72); //
AddStaticVehicle(504,1553.6490,-2211.0789,13.3465,357.4092,37,19); //
AddStaticVehicle(504,1519.1301,-2212.2349,13.3443,359.7323,53,56); //
AddStaticVehicle(502,1549.5347,-2360.4001,13.4484,185.6765,36,88); //
AddStaticVehicle(582,-2021.2916,461.7007,35.2317,2.1300,41,20); //
AddPlayerClass(0,-2025.4183,467.0483,35.1723,329.9509,0,0,0,0,0,0); //
AddStaticVehicle(582,-2024.7548,461.8524,35.2317,356.9515,56,123); //
AddStaticVehicle(420,-1989.7010,114.3688,27.3179,2.4543,101,101); //
AddStaticVehicle(420,-1990.2062,127.0930,27.3179,0.9628,83,110); //
AddStaticVehicle(420,-1990.3082,142.4476,27.3181,359.9897,66,25); //
AddStaticVehicle(420,-1990.2596,160.8686,27.3157,0.3843,19,1); //
AddStaticVehicle(581,-1467.4009,-266.4918,13.7482,13.1996,58,1); //
AddStaticVehicle(581,-1466.1945,-266.3661,13.7484,15.2559,66,1); //
AddStaticVehicle(581,-1463.9388,-266.0959,13.7503,13.8689,72,1); //
AddStaticVehicle(581,-1462.1464,-266.5120,13.7354,2.1725,75,1); //
return 1;
}

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

#include a_samp


public OnGameModeInit( )
{
AddStaticVehicle(509,1663.0225,-2242.8103,13.0556,12.7434,61,1); //
AddStaticVehicle(509,1661.8901,-2243.0388,13.0532,4.1324,7,1); //
AddStaticVehicle(509,1660.8636,-2243.2327,13.0500,0.9635,25,1); //
AddStaticVehicle(509,1660.2159,-2243.5198,13.0473,33.3107,74,1); //
AddStaticVehicle(509,1631.5179,-2240.2834,13.0193,87.3841,36,1); //
AddStaticVehicle(509,1632.1171,-2241.3081,13.0187,89.4833,53,1); //
AddStaticVehicle(509,1632.1438,-2242.3027,13.0175,97.9073,74,1); //
AddStaticVehicle(509,1664.3651,-2242.8730,13.0555,358.5424,7,1); //
AddStaticVehicle(509,1632.9258,-2243.3376,13.0134,89.3005,30,1); //
AddStaticVehicle(555,1561.9083,-2254.2942,13.2304,90.9479,60,1); //
AddStaticVehicle(504,1560.8875,-2237.7422,13.3403,89.5242,66,72); //
AddStaticVehicle(504,1553.6490,-2211.0789,13.3465,357.4092,37,19); //
AddStaticVehicle(504,1519.1301,-2212.2349,13.3443,359.7323,53,56); //
AddStaticVehicle(502,1549.5347,-2360.4001,13.4484,185.6765,36,88); //
AddStaticVehicle(582,-2021.2916,461.7007,35.2317,2.1300,41,20); //
AddPlayerClass(0,-2025.4183,467.0483,35.1723,329.9509,0,0,0,0,0,0); //
AddStaticVehicle(582,-2024.7548,461.8524,35.2317,356.9515,56,123); //
AddStaticVehicle(420,-1989.7010,114.3688,27.3179,2.4543,101,101); //
AddStaticVehicle(420,-1990.2062,127.0930,27.3179,0.9628,83,110); //
AddStaticVehicle(420,-1990.3082,142.4476,27.3181,359.9897,66,25); //
AddStaticVehicle(420,-1990.2596,160.8686,27.3157,0.3843,19,1); //
AddStaticVehicle(581,-1467.4009,-266.4918,13.7482,13.1996,58,1); //
AddStaticVehicle(581,-1466.1945,-266.3661,13.7484,15.2559,66,1); //
AddStaticVehicle(581,-1463.9388,-266.0959,13.7503,13.8689,72,1); //
AddStaticVehicle(581,-1462.1464,-266.5120,13.7354,2.1725,75,1); //
return 1;
}

Link to comment
Share on other sites

Guest sergyu2410

Nu merge sa il compilez.

D:\SaMp Server\pawno\include\a_samp.inc(33) : error 021: symbol already defined: "print"
D:\SaMp Server\pawno\include\a_samp.inc(34) : error 021: symbol already defined: "printf"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

Link to comment
Share on other sites

#include a_samp


public OnFilterScriptInit( )
{
AddStaticVehicle(509,1663.0225,-2242.8103,13.0556,12.7434,61,1); //
AddStaticVehicle(509,1661.8901,-2243.0388,13.0532,4.1324,7,1); //
AddStaticVehicle(509,1660.8636,-2243.2327,13.0500,0.9635,25,1); //
AddStaticVehicle(509,1660.2159,-2243.5198,13.0473,33.3107,74,1); //
AddStaticVehicle(509,1631.5179,-2240.2834,13.0193,87.3841,36,1); //
AddStaticVehicle(509,1632.1171,-2241.3081,13.0187,89.4833,53,1); //
AddStaticVehicle(509,1632.1438,-2242.3027,13.0175,97.9073,74,1); //
AddStaticVehicle(509,1664.3651,-2242.8730,13.0555,358.5424,7,1); //
AddStaticVehicle(509,1632.9258,-2243.3376,13.0134,89.3005,30,1); //
AddStaticVehicle(555,1561.9083,-2254.2942,13.2304,90.9479,60,1); //
AddStaticVehicle(504,1560.8875,-2237.7422,13.3403,89.5242,66,72); //
AddStaticVehicle(504,1553.6490,-2211.0789,13.3465,357.4092,37,19); //
AddStaticVehicle(504,1519.1301,-2212.2349,13.3443,359.7323,53,56); //
AddStaticVehicle(502,1549.5347,-2360.4001,13.4484,185.6765,36,88); //
AddStaticVehicle(582,-2021.2916,461.7007,35.2317,2.1300,41,20); //
AddPlayerClass(0,-2025.4183,467.0483,35.1723,329.9509,0,0,0,0,0,0); //
AddStaticVehicle(582,-2024.7548,461.8524,35.2317,356.9515,56,123); //
AddStaticVehicle(420,-1989.7010,114.3688,27.3179,2.4543,101,101); //
AddStaticVehicle(420,-1990.2062,127.0930,27.3179,0.9628,83,110); //
AddStaticVehicle(420,-1990.3082,142.4476,27.3181,359.9897,66,25); //
AddStaticVehicle(420,-1990.2596,160.8686,27.3157,0.3843,19,1); //
AddStaticVehicle(581,-1467.4009,-266.4918,13.7482,13.1996,58,1); //
AddStaticVehicle(581,-1466.1945,-266.3661,13.7484,15.2559,66,1); //
AddStaticVehicle(581,-1463.9388,-266.0959,13.7503,13.8689,72,1); //
AddStaticVehicle(581,-1462.1464,-266.5120,13.7354,2.1725,75,1); //
return 1;
}

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

Guest sergyu2410

Tot nu merge cred ca nu e bun pawno.

Daca pote cineva sa imi dea un link sa descarc pawno.

D:\SaMp Server\pawno\include\a_samp.inc(26) : error 021: symbol already defined: "print"
D:\SaMp Server\pawno\include\a_samp.inc(27) : error 021: symbol already defined: "printf"
D:\SaMp Server\pawno\Untitled.pwn(4) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

Link to comment
Share on other sites

Am si eu game modul gf , nemodificat nimic in el si as vrea sa bag masinile astea :

AddStaticVehicle(546,160.5546,-1339.8228,69.5982,206.0210,7,7); //

AddStaticVehicle(546,160.5546,-1339.8228,69.5982,206.0225,7,7); //

AddStaticVehicle(546,167.2845,-1340.3563,69.4738,182.7249,7,7); //

AddStaticVehicle(579,181.3734,-1327.5319,70.0086,178.2507,7,7); //

AddStaticVehicle(567,200.9663,-1325.7753,69.9342,123.0842,7,7); //

AddStaticVehicle(521,188.1738,-1315.7754,69.8133,196.5463,7,7); //

AddStaticVehicle(567,192.3755,-1296.8889,70.1414,184.1306,7,7); //

Link to comment
Share on other sites

Guest CVUCS4LIFE

Am si eu game modul gf , nemodificat nimic in el si as vrea sa bag masinile astea :

AddStaticVehicle(546,160.5546,-1339.8228,69.5982,206.0210,7,7); //

AddStaticVehicle(546,160.5546,-1339.8228,69.5982,206.0225,7,7); //

AddStaticVehicle(546,167.2845,-1340.3563,69.4738,182.7249,7,7); //

AddStaticVehicle(579,181.3734,-1327.5319,70.0086,178.2507,7,7); //

AddStaticVehicle(567,200.9663,-1325.7753,69.9342,123.0842,7,7); //

AddStaticVehicle(521,188.1738,-1315.7754,69.8133,196.5463,7,7); //

AddStaticVehicle(567,192.3755,-1296.8889,70.1414,184.1306,7,7); //

..sii..ce e asa de greu sa bagi kteva masini in un GM? ...fa cuma facut si ala kre a deschis topicu..
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By CenzoR
      Salut! Am problema cand intru in masina persoanala nu imi arata detalile acesteia, de ex cate zile are, km, culorile.
      Scriptul este deja pus in gamemode (nu este anulat)
      Ma poate ajuta cineva?
    • By TheGodfather
      Salut, masinile se respawneaza la un interval de timp daca cineva nu e in ele. Am pus peste tot unde e SetVehicleToRespawn() un mesaj unic, ca sa imi dau seama unde e problema. Dar cand masina se respawneaza nu apare niciun mesaj, tin sa mentionez ca mesajul e pus cu SendClientMessageToAll. Deci nu exista sansa sa se fi trimis si sa nu il fi vazut. Am gamemode hpq123 bhood.
    • By Lwka
      Hey! Am si eu nevoie de ajutor la comanda /bonus


      Cum pot acorda un vehicul temporar?
    • By St3f4n36
      Cum as putea fac urmatoarea chestie:
      Daca intr-un dialog imi apare ca primeste x bani daca apasa cazul 1 ( banii formati cu new money = 100 + rand(100); )
      si dupa sa imi trimita un mesaj tot cu aceasi suma de bani x. Trebuie salvata intr-o variabila sau cum?
    • By xVincenzo
      salut cum pot rezolva aceasta eroare? 
      error 033: array must be indexed (variable "gString")
       
      aceasta este linia de cod: gString = EOS; format(gString, sizeof(gString), "Ti-a fost setat Nitro Account la valoarea %d de catre administratorul %s.", valoare , GetName(playerid));
          SCM(id, COLOR_LIGHTBLUE, gString);
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.