Roleplay Speed Camera -
XxmazenelsayedxX - 23.09.2013
Hello ,
I am looking for a speed camera which can be placed in-game
when any normal player (except leo's members) get over the speed limit
it gives a warning to all leo factions that PlayerID has get over the speed limit
and inform all leo faction about his location
Hope SomeOne Can Help Me , Or I Need A Scripter Professional One At Least Experience Rate 8/10
Add Me On Skype boys.elsayed , if you are interested.
Thanks
Re: Roleplay Speed Camera -
DanishHaq - 23.09.2013
I'd say you do it yourself;
Set a timer with a refresh rate of either 500 to 1000 miliseconds, and in that timer loop all the players online and all the players connected, check if that player is near the speed camera with an X Y Z position, and if they are, then check if they are in a vehicle with IsPlayerInAnyVehicle and then use GetPlayerVehicleID if they are in a vehicle. If they are in a vehicle, make a new variable, i.e. new speed =
GetVehicleVelocity, (look here for more information about vehicle velocities on SA-MP:
https://sampforum.blast.hk/showthread.php?tid=364124), after you've done that, if the speed is over a specific value, then you can perhaps do whatever you want there, ticket him, warn the police etc.
Take a look at this for a ready made one too:
https://sampforum.blast.hk/showthread.php?tid=247415.
But I'd still suggest you make your own.
Re: Roleplay Speed Camera -
XxmazenelsayedxX - 23.09.2013
i don't need it to fine player i need it to inform leo's about the suspect.
Re: Roleplay Speed Camera -
XxmazenelsayedxX - 23.09.2013
if you are a scripter can you come skype and help me make one its hard to me.
skype : boys.elsayed
Re: Roleplay Speed Camera -
DanishHaq - 23.09.2013
Then simply do what I said above, and then inform the leo's. I don't know what you mean by "leo's" either, but just inform them with your variables for the "leo's".
PS: If you want a scripter, post here:
https://sampforum.blast.hk/showthread.php?tid=447813.
Re: Roleplay Speed Camera -
XxmazenelsayedxX - 23.09.2013
leo's are any cop faction ex. lspd sasd government fbi , etc
Re: Roleplay Speed Camera -
DanishHaq - 23.09.2013
Quote:
Originally Posted by XxmazenelsayedxX
leo's are any cop faction ex. lspd sasd government fbi , etc
|
Ok good, so it's the exact same procedure as I said in my first post, once you've done all that, then just send a message to the online cops saying that X has broken the speed limit.. It's not exactly rocket science.
Re: Roleplay Speed Camera -
XxmazenelsayedxX - 23.09.2013
i will try bro and thanks i gonna +rep you after i get 50 posts + i will not forget