SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 13/01/2012, 12:24 PM   #11
yos136
Big Clucker
 
Join Date: Mar 2009
Posts: 73
Reputation: 0
Default Re: "OnPlayerLookAtVehicle" - Detect if a player is looking at some vehicle.

its laggy what you did...
yos136 is offline   Reply With Quote
Old 13/01/2012, 12:55 PM   #12
iPLEOMAX
High-roller
 
iPLEOMAX's Avatar
 
Join Date: Mar 2011
Location: AE
Posts: 1,251
Reputation: 744
Default Re: "OnPlayerLookAtVehicle" - Detect if a player is looking at some vehicle.

Quote:
Originally Posted by yos136 View Post
its laggy what you did...
There's no other way you could do it. (Atleast in my head)

To get the vehicle on a player's sight, you WILL NEED these positions/calculations and a timer.
__________________
Goodbye SA-MP.
iPLEOMAX is offline   Reply With Quote
Old 13/01/2012, 01:02 PM   #13
yos136
Big Clucker
 
Join Date: Mar 2009
Posts: 73
Reputation: 0
Default Re: "OnPlayerLookAtVehicle" - Detect if a player is looking at some vehicle.

What? i just sayed its laggy..
yos136 is offline   Reply With Quote
Old 13/01/2012, 01:09 PM   #14
iPLEOMAX
High-roller
 
iPLEOMAX's Avatar
 
Join Date: Mar 2011
Location: AE
Posts: 1,251
Reputation: 744
Default Re: "OnPlayerLookAtVehicle" - Detect if a player is looking at some vehicle.

Quote:
Originally Posted by yos136 View Post
What? i just sayed its laggy..
You said: "its laggy what you did..."

Do you or anyone else have a better method? I'm not being angry, I'm just asking so it would be good for everyone else if you had one..
__________________
Goodbye SA-MP.
iPLEOMAX is offline   Reply With Quote
Old 13/01/2012, 01:24 PM   #15
iPLEOMAX
High-roller
 
iPLEOMAX's Avatar
 
Join Date: Mar 2011
Location: AE
Posts: 1,251
Reputation: 744
Default Re: "OnPlayerLookAtVehicle" - Detect if a player is looking at some vehicle.

Quote:
Originally Posted by Kepler View Post
ya it's very laggy. wups or ****** can do better.
Well ofcourse they can. I hope one of them does.
__________________
Goodbye SA-MP.
iPLEOMAX is offline   Reply With Quote
Old 13/01/2012, 01:31 PM   #16
T0pAz
Guest
 
Posts: n/a
Default Re: "OnPlayerLookAtVehicle" - Detect if a player is looking at some vehicle.

Quote:
its laggy what you did...
Quote:
What? i just sayed its laggy..
Quote:
ya it's very laggy. wups or ****** can do better.





Quote:
To get the vehicle on a player's sight, you WILL NEED these positions/calculations and a timer.
....
  Reply With Quote
Old 13/01/2012, 02:24 PM   #17
Haydz
Gangsta
 
Haydz's Avatar
 
Join Date: Jul 2010
Location: New Zealand
Posts: 752
Reputation: 44
Default Re: "OnPlayerLookAtVehicle" - Detect if a player is looking at some vehicle.

Wow, that's actually a pretty awesome idea. You've done an awesome job, looking forward to more scripts in the future.
__________________

Don't view these forums much anymore, still check every once and awhile so if you send me a PM It'll take a bit for me to respond!
Haydz is offline   Reply With Quote
Old 13/01/2012, 02:42 PM   #18
Unknownich
Huge Clucker
 
Unknownich's Avatar
 
Join Date: Dec 2011
Posts: 211
Reputation: 27
Default Re: "OnPlayerLookAtVehicle" - Detect if a player is looking at some vehicle.

I will try it, nice idea

[ame]http://www.youtube.com/watch?v=EF8GhC-T_Mo[/ame]
Unknownich is offline   Reply With Quote
Old 13/01/2012, 02:44 PM   #19
Snowman12
Huge Clucker
 
Join Date: Jan 2011
Location: Nottingham, UK.
Posts: 445
Reputation: 23
Default Re: "OnPlayerLookAtVehicle" - Detect if a player is looking at some vehicle.

Nice looks like you directed it more at RP servers. Would be nice to see some other things like perhaps OnPlayerShootVehicle I need a call back like this for health hack detection :P
__________________
I must apologize, I'm very sorry for being random.

Show your support by stopping this immature user "Brian_G" from stealing images from me/and others by leaving this on your signature.
Snowman12 is offline   Reply With Quote
Old 13/01/2012, 03:21 PM   #20
Sinner
Gangsta
 
Sinner's Avatar
 
Join Date: Aug 2010
Location: On This Mortal Coil
Posts: 770
Reputation: 292
Default Re: "OnPlayerLookAtVehicle" - Detect if a player is looking at some vehicle.

Quote:
Originally Posted by Kepler View Post
ya it's very laggy. wups or ****** can do better.
You're an asshole.
__________________
Please use the search feature before asking a question.
Sinner 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
"Slight homing", make a missile "Slightly!" home a vehicle. Donya Help Archive 4 11/06/2011 10:20 PM
Is player talks, use OnePlayAnim(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,0); Ihsan_Cingisiz Help Archive 5 30/05/2010 04:26 PM
Admin script requires "ReturnUser", "strtok" and "IsNumeric" Rubennnnn Help Archive 1 02/12/2009 07:08 PM
"Bots", "AI", "NPCs"... Computer-controlled pedestrians and traffic! ssflsnoob General 2 23/11/2008 07:06 PM


All times are GMT. The time now is 01:58 PM.


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