[Ajuda] Veнculos no MTA. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Veнculos no MTA. (
/showthread.php?tid=377983)
Veнculos no MTA. -
Ley - 16.09.2012
Bom dia;
Criei um veнculo no MTA e tals, porйm quando executo o samp-server e vejo os veнculos que criei, aparece 2 no local onde eu criei somente 1...
Alguйm poderia me dizer como eu poderia arrumar isso?
pawn Код:
AddStaticVehicleEx(515,2776.10009766,-2455.80004883,14.69999981,91.25000000,-1,-1,15); //Roadtrain
Re: Veнculos no MTA. -
arakuta - 16.09.2012
Ve se nгo tem outro em alguma outra parte do GM...
(Pode ter algum createvehicle)
Re: Veнculos no MTA. -
Ley - 16.09.2012
Sim tem createvehicle, porйm nгo tem nada haver com o AddStaticVehicleEx. :/
Re: Veнculos no MTA. -
arakuta - 16.09.2012
hmm.. Entгo remove apenas esse que vocк posto aqui no topic e ve se nгo respawna nada...
Pode ser tambйm que tenha pegando esse CreateVehicle ou StaticVehicle de alguma scriptfile, verifique.
(Ps: In-Game, use /dl e veja os id's individuais de cada carro, concerteza serгo diferentes, aн e so vocк ver se ele ta criando antes ou depois desse que vocк posto aн, e й sу analisar o cуdigo.)
Re: Veнculos no MTA. -
Rhayziin - 16.09.2012
Tem a include STREAMER






E lembrando que os veнculos sгo em OnGamemodeInit (SE FOR GM) ou OnFilterScriptInit (SE FOR FS)!
Re: Veнculos no MTA. -
Ley - 16.09.2012
Quote:
Originally Posted by Rhayziin
|
Sim, tenho a include, e estб em seus devidos locais. OnGameModeInit.
@arakuta
Pode ser tambйm que tenha pegando esse CreateVehicle ou StaticVehicle de alguma scriptfile, verifique.
Eu nгo uso FS's.
E nгo tem nem uma funзгo no scriptfiles sobre veнculos...