I want to put roleplay names instead of steam names on the scoreboard and esx_rpchat ( like on Twitter )
TriggerEvent(‘es:addCommand’, ‘twt’, function(source, args, user)
table.remove(args, 1)
TriggerClientEvent(‘chatMessage’, -1, “^0[^4Twitter^0] (^5@”… GetPlayerName(source) …"^0)", {30, 144, 255}, table.concat(args, " "))
end, {help = ‘Beszélgetés. [IC]’})
TriggerEvent(‘es:addCommand’, ‘deep’, function(source, args, user)
table.remove(args, 1)
TriggerClientEvent(‘chatMessage’, -1, “^3[^1Deep Web^3] (^3”… GetPlayerName(source) …"^3)", {30, 144, 255}, table.concat(args, " "))
end, {help = ‘Illegál Hírdetés. [IC]’})
I want here to display the name like " Edward Brown "