My suggestion is for a dipper.
By pressing some key for example "L", headlights get ON/OFF thrice or more times, like a signal used in night. (dipper)
I have using a keybinder put "t/lights~" at numpad1 and when I press it 2/4x it flashes, also tested ingame ;D
so you want something like the turn signal, but for the headlights?
Quote from: Ethan on January 05, 2013, 15:47
so you want something like the turn signal, but for the headlights?
Yeah something like that,
flashing signal, which is used by vehicles its generally done to signal the incoming vehicle to "stop because I can't apply brakes", mostly done while overtaking or when in wrong lane.
To know more about it:
http://en.wikipedia.org/wiki/Headlight_flashing
not bad idea :) anyway there's no "thrice" word, just three times :P
Nice idea +1
This would be helpful in many situations. +1
Example: I want to let somebody go first in an intersection when we got to it in the same time.
+1 nice idea. :D
keybinder makes lag for me :/
+1 sounds like a good idea and could be useful :) I've wanted to flash my lights before to let someone go before me but obviously couldn't unless I used /lights a few times in a row which can be a pain.
We use the headlight flash to say that they have no lights on(middle of day) or forgot the headlights on(evning/night).
:notbad:
also can be used for a car waiting in the road....
flashing every 2 seconds, to warn other players, low speed or /fix(ing)
(sorry for my english, if there is any mistake :D )
+1 :)
Amd the point of it is?
"L" is not a key that can be scripted for in SAMP. Also $nake, "thrice" is a word.
Quote from: Storm94 on January 06, 2013, 08:50
"L" is not a key that can be scripted for in SAMP.
Hmm yeah!
maybe a "C" because no one would crouch ingame inside a vehicle.
but it doesn't really matter what it is though
This is what i was going to suggest so a big +1
Quote from: Deff on January 06, 2013, 12:57
Quote from: Storm94 on January 06, 2013, 08:50
"L" is not a key that can be scripted for in SAMP.
Hmm yeah!
maybe a "C" because no one would crouch ingame inside a vehicle.
but it doesn't really matter what it is though
"C" cannot be scripted for inside a vehicle.
http://wiki.sa-mp.com/wiki/GetPlayerKeys
Quote from: Storm94 on January 07, 2013, 08:32
Quote from: Deff on January 06, 2013, 12:57
Quote from: Storm94 on January 06, 2013, 08:50
"L" is not a key that can be scripted for in SAMP.
Hmm yeah!
maybe a "C" because no one would crouch ingame inside a vehicle.
but it doesn't really matter what it is though
"C" cannot be scripted for inside a vehicle.
http://wiki.sa-mp.com/wiki/GetPlayerKeys
What about OnPlayerKeyStateChange
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (PRESSED(KEY_CROUCH))
{
if (IsPlayerInAnyVehicle(playerid))
{
//lights on/off 3 times here
}
}
return 1;
}
Quote from: Deff on January 07, 2013, 09:58
Quote from: Storm94 on January 07, 2013, 08:32
Quote from: Deff on January 06, 2013, 12:57
Quote from: Storm94 on January 06, 2013, 08:50
"L" is not a key that can be scripted for in SAMP.
Hmm yeah!
maybe a "C" because no one would crouch ingame inside a vehicle.
but it doesn't really matter what it is though
"C" cannot be scripted for inside a vehicle.
http://wiki.sa-mp.com/wiki/GetPlayerKeys
What about OnPlayerKeyStateChange
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (PRESSED(KEY_CROUCH))
{
if (IsPlayerInAnyVehicle(playerid))
{
//lights on/off 3 times here
}
}
return 1;
}
Only problem is that "KEY_CROUCH" is mapped to "H/CapsLock" when you're in a vehicle. It won't even recognize that you're pressing "C"
hmm well, then maybe KEY_NO (N) for now...
I hope future versions of samp clients and servers have inbuilt plugins to detect keyboard keys.
KEY_NO is being used.
Quote from: $nake on January 05, 2013, 16:05
not bad idea :) anyway there's no "thrice" word, just three times :P
thrice is indeed a word.
On Topic: Meh. It's pretty cool.
Unfortunately L is not a detectable key in sa-mp. But you can use a binder to bind L to /lights command