SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

Thread Tools Display Modes
Old 04/11/2009, 03:27 PM   #1
Little Clucker
Join Date: Dec 2007
Posts: 49
Reputation: 0
Default How can I get the vehicle which is the nearest to a player =?

Subject says all

sry for my english ,there could be some mistakes
KIDUL is offline  
Old 04/11/2009, 03:29 PM   #2
Correlli's Avatar
Join Date: May 2009
Location: Slovenia
Posts: 6,340
Reputation: 365
Default Re: How can I search the vehicle which is the nearest to a player =?

Search, there is a function called GetClosestVehicle but it requires GetPlayerDistanceToVehicle & GetPlayerDistanceToPoint functions.
Correlli is offline  

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
How to check the nearest vehicle Mystique Help Archive 4 09/07/2010 12:42 PM
How to destroy nearest vehicle? [SsC11]MAVERIK Help Archive 1 18/04/2010 12:08 PM
command that get the nearest vehicle position king4you Help Archive 4 06/04/2010 07:31 PM
SetPlayerAngle to nearest player.. wiilweer Help Archive 1 09/01/2010 12:19 PM

All times are GMT. The time now is 09:59 PM.

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