SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Русский/Russian

Reply
 
Thread Tools Display Modes
Old 14/05/2015, 07:21 AM   #1
James_Braga
Huge Clucker
 
James_Braga's Avatar
 
Join Date: Sep 2012
Posts: 223
Reputation: 9
Default Route Connector

Кто то пользовался плагином http://forum.sa-mp.com/showthread.php?p=1475418 ?
есть ли возможность взять только ближайшие координаты на дороге?
если да то, нужно разжевать как
James_Braga is offline   Reply With Quote
Old 14/05/2015, 09:00 AM   #2
Richard_Gere
Huge Clucker
 
Richard_Gere's Avatar
 
Join Date: Aug 2010
Posts: 230
Reputation: 5
Default Re: Route Connector

1234
Quote:
GetPlayerPos(playerid, x, y, z);
GetNodePos(NearestPlayerNode(playerid), x, y, z);
__________________
Sorry for my bad english
Richard_Gere is offline   Reply With Quote
Old 14/05/2015, 09:45 AM   #3
James_Braga
Huge Clucker
 
James_Braga's Avatar
 
Join Date: Sep 2012
Posts: 223
Reputation: 9
Default Re: Route Connector

Quote:
Originally Posted by Richard_Gere View Post
1234
тоже так думал но... NearestPlayerNode возвращает -1

Last edited by James_Braga; 14/05/2015 at 10:46 AM.
James_Braga is offline   Reply With Quote
Old 14/05/2015, 11:06 AM   #4
Richard_Gere
Huge Clucker
 
Richard_Gere's Avatar
 
Join Date: Aug 2010
Posts: 230
Reputation: 5
Default Re: Route Connector

У меня нормально всё возвращало, странно.. Может ты файлик с нодами не закинул в папку?
__________________
Sorry for my bad english
Richard_Gere is offline   Reply With Quote
Old 14/05/2015, 11:20 AM   #5
James_Braga
Huge Clucker
 
James_Braga's Avatar
 
Join Date: Sep 2012
Posts: 223
Reputation: 9
Default Re: Route Connector

Quote:
Originally Posted by Richard_Gere View Post
У меня нормально всё возвращало, странно.. Может ты файлик с нодами не закинул в папку?
Ты про какие файлики? можешь подсказать названия?
James_Braga is offline   Reply With Quote
Old 14/05/2015, 11:56 AM   #6
Richard_Gere
Huge Clucker
 
Richard_Gere's Avatar
 
Join Date: Aug 2010
Posts: 230
Reputation: 5
Default Re: Route Connector

GPS.dat
GPS_no_directions.dat
http://dropmefiles.com/2rQax

Вроде сами подгружаются, если нет то попробуй:
Code:
native ReadNodesFromFile(filename[]);
__________________
Sorry for my bad english
Richard_Gere is offline   Reply With Quote
Old 14/05/2015, 12:55 PM   #7
James_Braga
Huge Clucker
 
James_Braga's Avatar
 
Join Date: Sep 2012
Posts: 223
Reputation: 9
Default Re: Route Connector

Quote:
Originally Posted by Richard_Gere View Post
GPS.dat
GPS_no_directions.dat
http://dropmefiles.com/2rQax

Вроде сами подгружаются, если нет то попробуй:
Code:
native ReadNodesFromFile(filename[]);
пора спать... перепутал директории scriptfiles с filterscripts
James_Braga is offline   Reply With Quote
Old 15/05/2015, 05:22 AM   #8
James_Braga
Huge Clucker
 
James_Braga's Avatar
 
Join Date: Sep 2012
Posts: 223
Reputation: 9
Default Re: Route Connector

Ребят освоение этого плагина продолжается, теперь такая задача, все ок все работает, залил на linux запустил сервер и Failed (libtbb.so.2: cannot open shared object file: No such file or directory) че как решить?
James_Braga is offline   Reply With Quote
Old 15/05/2015, 07:14 AM   #9
OKStyle
High-roller
 
OKStyle's Avatar
 
Join Date: May 2008
Location: Russia, Orenburg Money: GTA$ 999,999,999
Posts: 3,067
Reputation: 117
Default Re: Route Connector

Написано же, что не может почитать файл (которого, скорее всего, нет).
__________________
O.K.Style™ Laboratory
Kalcor: "... it's makes the game look like it's not GTA. This mod is called San Andreas Multiplayer. It's not a custom game engine which you can script..."
OKStyle is offline   Reply With Quote
Old 15/05/2015, 08:24 AM   #10
Ins1d3
Big Clucker
 
Ins1d3's Avatar
 
Join Date: Jan 2014
Posts: 123
Reputation: 0
Default Re: Route Connector

Quote:
Originally Posted by James_Braga View Post
Ребят освоение этого плагина продолжается, теперь такая задача, все ок все работает, залил на linux запустил сервер и Failed (libtbb.so.2: cannot open shared object file: No such file or directory) че как решить?
Quote:
Originally Posted by Gamer_Z View Post

IntelTBB missing on linux?

https://www.threadingbuildingblocks.org/download

download the linux binaries and install the 'ia32' redistribution.

Or:
Code:
sudo apt-get install libtbb-dev
sudo apt-get install libtbb2
/////
Ins1d3 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] Teamspeak Connector maddinat0r Plugin Development 325 08/09/2018 07:04 PM
Bus Route cedizon Scripting Help 2 30/05/2014 07:07 AM
[Map] Connector Gas Tellken Maps 4 01/06/2012 03:04 AM
PSU connector help! patchkinson Everything and Nothing 3 20/03/2010 09:24 PM


All times are GMT. The time now is 10:20 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.