Renewed-Scripts / qb-phone

GNU General Public License v3.0
75 stars 89 forks source link

Suggestion #68

Open KSJDiamondGaming opened 1 year ago

KSJDiamondGaming commented 1 year ago

Have the ability to use qb-log to post separate twitter and advertisement posts. was able to on standard qb-phone. but not implemented here. Maybe it was an added snippet not sure.

TriggerServerEvent('qb-log:server:CreateLog', 'twitter', 'New Tweet', 'twitterblue', ''..PhoneData.PlayerData.charinfo.firstname..' '..PhoneData.PlayerData.charinfo.lastname..' : '..TwitterMessage, false, data.url)

TriggerServerEvent('qb-phone:server:AddAdvert', data.message, data.url)
TriggerServerEvent('qb-log:server:CreateLog', 'advert', 'New Advertisement', 'yellow', '**'..Player.charinfo.firstname..' '..Player.charinfo.lastname..' | '..Player.job.name..' : **'..data.message, false, data.url)

end)

To post separate into discord web hook.

iiKline commented 1 year ago

If you would like to PR this, we could add it

KSJDiamondGaming commented 1 year ago

Yes if still possible. Awesome thankyou


From: itsKline @.> Sent: Thursday, April 27, 2023 10:14:35 AM To: Renewed-Scripts/qb-phone @.> Cc: KSJ @.>; Author @.> Subject: Re: [Renewed-Scripts/qb-phone] Suggestion (Issue #68)

If you would like to PR this, we could add it

— Reply to this email directly, view it on GitHubhttps://github.com/Renewed-Scripts/qb-phone/issues/68#issuecomment-1525222691, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATZ7KAMUUTFWITTFSGPIPXLXDI2HXANCNFSM6AAAAAARTKNWPM. You are receiving this because you authored the thread.Message ID: @.***>