This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Put me in darkrp_modules/advert_revert/sh_advert_revert.lua for it to work!!!! | |
timer.Simple( 3, function() | |
DarkRP.addPhrase('en', 'advert', '[Advert]') | |
local billboardfunction = DarkRP.getChatCommand("advert") | |
billboardfunction = billboardfunction['callback'] | |
DarkRP.removeChatCommand("advert") | |
local function PlayerAdvertise(ply, args) | |
if args == "" then | |
DarkRP.notify(ply, 1, 4, DarkRP.getPhrase("invalid_x", "argument", "")) | |
return "" |