Advertisement
Guest User

Untitled

a guest
Mar 28th, 2020
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. function info (thePlayer, _, showName, type, ...)
  2. local message = table.concat ( { ... }, " " )
  3. if ( hasObjectPermissionTo ( thePlayer, "general.adminpanel", true ) ) then
  4. exports.notifications:createNotification(root, "#FFFFFF"..showName == "1" and getPlayerName(thePlayer) or "Admin"..": #FFFFFF".. message, tonumber(type))
  5. else
  6. outputChatBox ("#FFFFFFNem vagy rangos!", thePlayer, 255, 255, 255)
  7. end
  8. end
  9. addCommandHandler("i",info)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement