SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Includes (https://forum.sa-mp.com/forumdisplay.php?f=83)
-   -   [Include] LiveCam.inc | Camera system *Live Stream* (News reporters and etc.) (https://forum.sa-mp.com/showthread.php?t=648028)

iAmir 14/01/2018 02:43 PM

LiveCam.inc | Camera system *Live Stream* (News reporters and etc.)
 
2 Attachment(s)
livecam.inc

Start and Informations

YOU MUST WATCH THE VIDEO TO UNDERSTAND WHAT I'M TALKING ABOUT

So as I couldn't find a script like this in samp forums , I decided to make one for my project and now I decided to release this small and simple code , not really smooth a lil bit laggy actually . but it's kinda cool and can be used for News Reporter jobs in Roleplay servers and etc.

You can make a TV and a news channel with a news reporter somewhere !

Photos of Camera :

http://forum.sa-mp.com/attachment.ph...1&d=1515943752
http://forum.sa-mp.com/attachment.ph...1&d=1515943779




Video:

Click On Meh -_-

and yea , the music is lit tho xD




Functions:

PHP Code:


GivePlayerCamera
(playerid);

RemovePlayerCamera(playerid);

IsPlayerRecording(playerid);

IsPlayerWatchingCamera(playerid);

IsPlayerWatchingPlayerCamera(playerid cameraman);

StartPlayerWatchingCamera(playerid cameraman);

StopPlayerWatchingCamera(playerid); 


Download:

Github link


Credits:

ARD4L4N & GrandTA - Testing the script

Bugs and Ideas:

Feel free to ask your questions.
Share you ideas and report bugs here !

GrandTA 14/01/2018 02:52 PM

Re: LiveCam.inc | Camera system *Live Stream* (News reporters and etc.)
 
Another Awesome Release Thank You!

Marllun 14/01/2018 03:04 PM

Re: LiveCam.inc | Camera system *Live Stream* (News reporters and etc.)
 
Good job.

Sew_Sumi 14/01/2018 03:11 PM

Re: LiveCam.inc | Camera system *Live Stream* (News reporters and etc.)
 
Damn, this is unique lol ;)

Nice work.

rfr 14/01/2018 03:17 PM

Re: LiveCam.inc | Camera system *Live Stream* (News reporters and etc.)
 
wtf did i just watch

VeryTallMidget 14/01/2018 03:40 PM

Re: LiveCam.inc | Camera system *Live Stream* (News reporters and etc.)
 
Quote:

Originally Posted by iAmir (Post 3979854)
You can make a TV and a news channel with a news reporter somewhere !

This view can be streamed to any player ?

Is it possible to add a feature where player can set up surveillance camera and access to stream any time by on-screen display ?

Or maybe a feature of setting up cameras on the map, and add a place (24/7 maybe) where any player can select camera to view ?

iAmir 14/01/2018 03:44 PM

Re: LiveCam.inc | Camera system *Live Stream* (News reporters and etc.)
 
Quote:

Originally Posted by VeryTallMidget (Post 3979900)
This view can be streamed to any player ?

Is it possible to add a feature where player can set up surveillance camera and access to stream any time by on-screen display ?

Or maybe a feature of setting up cameras on the map, and add a place (24/7 maybe) where any player can select camera to view ?

Itís just holding cameras for now !
actually itís kinda like Handycam , so yes , I will add a stand-alone camera feature where you can set them up and watch it from anywhere you want , THANKS for your idea! 💡

VeryTallMidget 14/01/2018 04:09 PM

Re: LiveCam.inc | Camera system *Live Stream* (News reporters and etc.)
 
:cool: Yes this way player can select between places to watch, airports, stunt tracks, and some other popular places...

I guess you know that some servers have UFO, moving all over the map, camera looking straight down from that moving UFO would be fun to watch :p

ARD4L4N 14/01/2018 05:35 PM

Re: LiveCam.inc | Camera system *Live Stream* (News reporters and etc.)
 
Nice & Unique Job

RogueDrifter 14/01/2018 11:31 PM

Re: LiveCam.inc | Camera system *Live Stream* (News reporters and etc.)
 
You really know how to make use of simple functions and make them unique good job!


All times are GMT. The time now is 06:10 AM.

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