SA-MP Forums Archive
i have a question for what ive seen but never new how to do it :( - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: i have a question for what ive seen but never new how to do it :( (/showthread.php?tid=82041)



i have a question for what ive seen but never new how to do it :( - meegan1 - 15.06.2009

sorry that im asking for help nearly all the time but plz help me.

i have seen on a server where you go up to a fence and honk youre horn and it open plz cn some1 tell me how to do it.
i am not a noob i know how to script so i will understand what you say so plz post .


Re: i have a question for what ive seen but never new how to do it :( - Luka P. - 15.06.2009

I am thinking,but I can`t solve this.
Is there any way to sync horn?


Re: i have a question for what ive seen but never new how to do it :( - meegan1 - 15.06.2009

Quote:
Originally Posted by Luka™
I am thinking,but I can`t solve this.
Is there any way to sync horn?
i do not know but if you find out how to do it i will be extremely greatfull


Re: i have a question for what ive seen but never new how to do it :( - CJ101 - 15.06.2009

use onplayerkeystate change

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange

you will need IsPlayerInAnyVehicle, or else it will work if outside a car