Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function info (thePlayer, _, showName, type, ...)
- local message = table.concat ( { ... }, " " )
- if ( hasObjectPermissionTo ( thePlayer, "general.adminpanel", true ) ) then
- exports.notifications:createNotification(root, "#FFFFFF"..showName == "1" and getPlayerName(thePlayer) or "Admin"..": #FFFFFF".. message, tonumber(type))
- else
- outputChatBox ("#FFFFFFNem vagy rangos!", thePlayer, 255, 255, 255)
- end
- end
- addCommandHandler("i",info)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement