- Initiateur de la discussion
Boris-MilleKatre
Geek
- Messages
- 80
- Score réaction
- 11
- Points
- 95
Voici une radio de police qui a été realese par le créateur sur un site.
Download : http://forum.darkrp.com/attachments/darkrp_police_radio-zip.512/
Emplacement :
srcds\garrysmod\addons\darkrpmodification\lua\darkrp_modules\
Pour le conig : police_radio/sh_p_radio_config.lua
Utilisation : ALT + E (apres tout depend de la config de la personne).
Screenshot :
Code:
Police_Radio_Allow_Teams = {"cp","chief","mayor"} --The script will normally use the jobs set by GAMEMODE.CivilProtection. If it doesnt work add the remaining team here
--^^ These are CHAT COMMANDS!! Not teamnames
Police_Radio_Require_Admin_Approval = false --Whether or not its required for admins to approve users first before they can use their radio
Police_Radio_Only_If_On = false --Only transmit voice if the receiving player has their own radio on
if CLIENT then
Police_Radio_HUD_Text_On = "Radio is on - All Police can hear your voicechat!" --The text that appears above the radio icon if enabled (Set to "" to disable text)
Police_Radio_HUD_Text_Off = "Radio is off (%s + %s to enable it)" --If the radio is disabled this text will appear (choose "" to disable text)
Police_Radio_HUD_Vehicle_Text_Off = "Radio is off (%s to enable it)" --If the radio is disabled and the player is in a vehicle this text will appear (choose "" to disable text)
--%s will be replaced with the key bound by the player that needs to be pressed
end
Police_Radio_HUD_Enable = true --Set to true to enable the HUD icons
Police_Radio_HUD_Use_Textures = false --If enabled. The HUD will use texture files (vtf) instead of a png file
Police_Radio_HUD_Texture_On = "vgui/lordi/darkrp/police_radio_on" --If you want to... You can set your own custom texture for the radio icon
Police_Radio_HUD_Texture_Off = "vgui/lordi/darkrp/police_radio_off" --Texture that appears if the radio is currently off
--******* ^^ These settings will affect your download! *******
--When selecting a texture, MAKE SURE THE EXTENSION ISNT INCLUDED (.png/.vmt)
--The script does this by itself
Dernière édition: