Post4VPS Forum | Free VPS Provider
[Pawn FS] Dynamic Speed cam system - Printable Version

+- Post4VPS Forum | Free VPS Provider (https://post4vps.com)
+-- Forum: Geek World (https://post4vps.com/Forum-Geek-World)
+--- Forum: Scripting & Programming (https://post4vps.com/Forum-Scripting-Programming)
+--- Thread: [Pawn FS] Dynamic Speed cam system (/Thread-Pawn-FS-Dynamic-Speed-cam-system)

Pages: 1 2


[Pawn FS] Dynamic Speed cam system - LazzyBoy - 03-21-2017

Speed Cam System

[Image: nN5RtUG.png]
System Introduce
Okay , i've made already a video for it but anyway im introducing it here so anyone that has no time to watch can atleast understand it only from reading so, Speed Cam system is a dynamic system that allows to create/delete an Speed camer.Creator of cam has to set a speed limit when players are near speed cam and are they driving slower or faster than the setten speed limit, if player is driving faster than the limit it will show him a textdraw with ticket reason, amount and the speed.The ticket amount its just fake since i was in a test mode and not in a gamemode so you will have to set with your own amount per speed , mine is KM * 2 = ticketamount but its not saved.
Every created cam is saved in a MySQL database.


System Commands
  • Createcam - Allows you to create a cam with speed limit that you want
  • Deletecam - will allow you to delete the nearest cam you're at.
  • Createcar - Will teleport a infernus to you , this one was only for me to test
  • Createdcams - allow you to check the ID of created cams for all
Credits
  • Incognito - Streamer Plugin.
  • BlueG - for the greatest MySQL plugin.
  • Zeex - for creating zcommand.
  • LazzyBoy(me) - creating this filterscript.
  • SAMP - making it possible all this.
Download Links If you enjoyed this please help me with a Rep
Note: This was made for samp forums scripter but since maybe anyone cant have access there , here you can get it Big Grin. Hope you enjoyed.


RE: [Pawn FS] Dynamic Speed cam system - YOuNeS_Dz - 03-21-2017

EDIT SERVER NAME And Put 'SAMP"
between i saw it.. good job


RE: [Pawn FS] Dynamic Speed cam system - LazzyBoy - 03-22-2017

Well hope you enjoyed it Big Grin.
Any suggestion would be accepted.


RE: [Pawn FS] Dynamic Speed cam system - Lucifer - 03-22-2017

thank you for your this share. can you guide through how to install this.


RE: [Pawn FS] Dynamic Speed cam system - LazzyBoy - 03-22-2017

My pleasure.
First download .pwn and also the database since without database you cant do anything.
Then open .pwn file and click on Complie or F5 - upload the database in your Mysql ( localhost or whereever u have the mysql)
Go to server.cfg and at Filterscripts add cams ( or however is the file named)
Start the server and enjoy it.


RE: [Pawn FS] Dynamic Speed cam system - Dudi - 03-22-2017

First I thought that this is for Android phones then I realized what is it.
I think you should ask a moderator to move this to the game category because this is just a game extension.


RE: [Pawn FS] Dynamic Speed cam system - LazzyBoy - 03-22-2017

No lol , its not like cleo or something that makes your game better or whatever, its a scripting pawno , and as long as i can see this section is called "Scripting && Programming " so i think its right place but anyway if a modernator decides that it should be moved , let it be.


RE: [Pawn FS] Dynamic Speed cam system - YOuNeS_Dz - 03-22-2017

But this 'cleo' is for samp servers only :d.. so game section Smile


RE: [Pawn FS] Dynamic Speed cam system - Hero^ - 03-23-2017

Thanks for sharing with us. but i don't play SAMP ( San Andreas Multiplayers )


RE: [Pawn FS] Dynamic Speed cam system - Lucifer - 03-23-2017

(03-22-2017, 12:20 PM)LazzyBoy Wrote: My pleasure.
First download .pwn and also the database since without database you cant do anything.
Then open .pwn file and click on Complie or F5  - upload the database in your Mysql ( localhost or whereever u have the mysql)
Go to server.cfg and at Filterscripts add cams ( or however is the file named)
Start the server and enjoy it.

thank you for your guidance. will try this out