SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 14/10/2012, 03:55 PM   #1
SDraw
Gangsta
 
SDraw's Avatar
 
Join Date: Apr 2011
Location: Earth
Posts: 582
Reputation: 157
Default [Audio Plugin] GTA III Radio with type of GTA IV Radio

This script allows you listen GTA III Radio like in GTA IV.
That means:
  • If you are near vehicle, you hear radio with effects. If you are in vehicle, you hear radio without effects.
  • 3D handle positions update for every vehicle in radius of 20 with player updates (OnPlayerUpdate).
  • Only driver can change radio.
  • Time of every radiostation is stored and restored when you switch on it.
  • Audiofiles are compressed for good quality.
  • Keys: R and Del.
Some things:
  • If you are in vehicle and drive near another vehicle with same radio, handle of it will fall behind (****** Translator, sorry, can't find right word ) because time can be got in integer, not float.
  • There can be some lags on clients' computers if near more than 100 vehicles because handle updates processed on client side.
  • Sometimes standart radio can't be turned off. All questions to Audio Plugin.
Requirements: Audio Plugin, Incognito's Streamer, YSI Library.
Notes: If you want to start this FS, change values of MAX_PLAYERS and MAX_VEHICLES needed for your server. Maybe, I'll add video.
Download: mediafire.com
Author: SDraw
Also, thanks for testing to user FrostJkeee.
__________________
GitHub

Last edited by SDraw; 14/10/2012 at 08:07 PM.
SDraw is offline   Reply With Quote
Old 14/10/2012, 03:59 PM   #2
xplor09edy
Big Clucker
 
xplor09edy's Avatar
 
Join Date: Oct 2012
Location: Romania & scripting.dll
Posts: 129
Reputation: 12
Default Re: [Audio Plugin] GTA III Radio with type of GTA IV Radio

Good Work Boy
xplor09edy is offline   Reply With Quote
Old 14/10/2012, 05:49 PM   #3
vityaza
Little Clucker
 
Join Date: Jan 2011
Posts: 10
Reputation: 0
Default Respuesta: [Audio Plugin] GTA III Radio with type of GTA IV Radio

Looks nice, I'm going to test this out.
vityaza is offline   Reply With Quote
Old 18/10/2012, 07:43 PM   #4
SDraw
Gangsta
 
SDraw's Avatar
 
Join Date: Apr 2011
Location: Earth
Posts: 582
Reputation: 157
Default Re: [Audio Plugin] GTA III Radio with type of GTA IV Radio

Umh...Up )
__________________
GitHub
SDraw is offline   Reply With Quote
Old 18/10/2012, 07:55 PM   #5
Glint
Guest
 
Posts: n/a
Default Re: [Audio Plugin] GTA III Radio with type of GTA IV Radio

Great work mate here eat a cookie
  Reply With Quote
Old 18/10/2012, 08:01 PM   #6
DarkB0y
Huge Clucker
 
Join Date: Dec 2011
Posts: 365
Reputation: 38
Default Re: [Audio Plugin] GTA III Radio with type of GTA IV Radio

nice work keep it up
__________________
DarkB0y is offline   Reply With Quote
Old 20/10/2012, 11:22 AM   #7
Rhymed32
Little Clucker
 
Join Date: Apr 2012
Posts: 47
Reputation: 19
Default Re: [Audio Plugin] GTA III Radio with type of GTA IV Radio

Nice man.
Rhymed32 is offline   Reply With Quote
Old 20/10/2012, 03:21 PM   #8
Witnec
Little Clucker
 
Join Date: Oct 2011
Posts: 24
Reputation: 0
Default Re : [Audio Plugin] GTA III Radio with type of GTA IV Radio

Code:
C:\DOCUME~1\Admin\Bureau\QServeur\SARP\FILTER~1\G3RWTOG4.pwn(17) : error 001: expected token: "-identifier-", but found "("
C:\DOCUME~1\Admin\Bureau\QServeur\SARP\FILTER~1\G3RWTOG4.pwn(18) : error 001: expected token: "-identifier-", but found "("
C:\DOCUME~1\Admin\Bureau\QServeur\SARP\FILTER~1\G3RWTOG4.pwn(43) : error 017: undefined symbol "foreach"
C:\DOCUME~1\Admin\Bureau\QServeur\SARP\FILTER~1\G3RWTOG4.pwn(43) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Admin\Bureau\QServeur\SARP\FILTER~1\G3RWTOG4.pwn(43) : error 017: undefined symbol "veh"
C:\DOCUME~1\Admin\Bureau\QServeur\SARP\FILTER~1\G3RWTOG4.pwn(43) : fatal error 107: too many error messages on one line
Witnec is offline   Reply With Quote
Old 20/10/2012, 09:28 PM   #9
SDraw
Gangsta
 
SDraw's Avatar
 
Join Date: Apr 2011
Location: Earth
Posts: 582
Reputation: 157
Default Re: Re : [Audio Plugin] GTA III Radio with type of GTA IV Radio

Quote:
Originally Posted by Witnec View Post
Code:
C:\DOCUME~1\Admin\Bureau\QServeur\SARP\FILTER~1\G3RWTOG4.pwn(17) : error 001: expected token: "-identifier-", but found "("
C:\DOCUME~1\Admin\Bureau\QServeur\SARP\FILTER~1\G3RWTOG4.pwn(18) : error 001: expected token: "-identifier-", but found "("
C:\DOCUME~1\Admin\Bureau\QServeur\SARP\FILTER~1\G3RWTOG4.pwn(43) : error 017: undefined symbol "foreach"
C:\DOCUME~1\Admin\Bureau\QServeur\SARP\FILTER~1\G3RWTOG4.pwn(43) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Admin\Bureau\QServeur\SARP\FILTER~1\G3RWTOG4.pwn(43) : error 017: undefined symbol "veh"
C:\DOCUME~1\Admin\Bureau\QServeur\SARP\FILTER~1\G3RWTOG4.pwn(43) : fatal error 107: too many error messages on one line
Something with y_iterate.inc.
__________________
GitHub
SDraw is offline   Reply With Quote
Old 21/10/2012, 07:22 AM   #10
Gamer_007
Gangsta
 
Gamer_007's Avatar
 
Join Date: Dec 2011
Location: Connecting...
Posts: 670
Reputation: 11
Default Re: [Audio Plugin] GTA III Radio with type of GTA IV Radio

Nice work man
Gamer_007 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [Audio Plugin] Online radio in cars SDraw Filterscripts 198 22/12/2013 03:53 PM
[Audio Plugin] Online radio in cars CaTaLinU Scripting Help 6 16/05/2012 05:39 PM
[HELP] Radio problem (AUDIO PLUGIN) Amine_Mejrhirrou Help Archive 1 03/08/2011 08:08 AM


All times are GMT. The time now is 02:04 AM.


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