Jump to content

Minotaur

Members
  • Posts

    134
  • Joined

  • Last visited

Everything posted by Minotaur

  1. Warning:editor_gui/client/interface.lua:17: Bad 'resource' pointer @ 'call'(1)
  2. I want to change another skin the hp is do not go up. You understand my bad english?
  3. and this is something that could be improved?
  4. I select a player on the warp button. i want to teleport on the warp button but not good. im on it the map i select the same player double click the player and teleport to.. so in the map the warp is good... in the warp button is not good
  5. I click on the warp and select one player double click and not good ... and i click on map click on the player the warp is good what is the problem?
  6. where to set up this? not the script... and i dont understand this script . what does it do?
  7. How to set up thet when the player change the skin he have full hp. How do i remove this? thanks in advence
  8. Thank you to everyone the assistance
  9. this is good but i have one problem the players can be change this skin themselves for example: im in not logged in type /ss 1 this skin is my
  10. Each of the two this is the problem: attempt to call global 'isWorldSpecialPropertyEnabled'
  11. I created this i think it would be good but i have one problem: '' expected near 'setElementModel' function isPlayerInACL(player,acl) end local account = getAccountName(getPlayerAccount(player)) if (isObjectInACLGroup("user."..account,aclGetGroup(acl))) then end return true setElementModel ( thePlayer, 1 ) else outputChatBox("Only Admin Members can take this skin", 0, 255, 0) return false end end
  12. I have one script. cars on the water but not good function CheatMode(commandName,command) else if command=='water' then if not isWorldSpecialPropertyEnabled('hovercars') then setWorldSpecialPropertyEnabled('hovercars',true) else setWorldSpecialPropertyEnabled('hovercars',false) end addCommandHandler('water', CheatMode,false)
  13. Not good 5 problem but i thank you for your help
  14. My console say:Error skin/skin.lua:3 attempt to concatenate global 'accName' ( a nil value ) what is the problem?
  15. I have admin name script but i have one problem with this script i write one thin for example:Hello and write this example double so: Mintoaur:Hello [Admin]Minotaur:Hello please help me addEventHandler ( "onPlayerChat", root, function ( msg, type ) if isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "Owner" ) ) and type == 0 then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#FF0000[Owner]" .. getPlayerName ( source ) .. ":#FF0000 " .. msg, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "Admin" ) ) and type == 0 then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#008000[Admin]" .. getPlayerName ( source ) .. ":#7FFF00 " .. msg, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "Smallmoderator" ) ) and type == 0 then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#C0C0C0[smallModerator]" .. getPlayerName ( source ) .. ":#FFFFFF " .. msg, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "Moderator" ) ) and type == 0 then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#0000FF[Moderator]" .. getPlayerName ( source ) .. ":#8A2BE2 " .. msg, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "ClanACL" ) ) and type == 0 then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#00FFFF|Clan name|" .. getPlayerName ( source ) .. ":#FFFFFF " .. msg, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "ACL" ) ) and type == 0 then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#A000FF*[ Owner ] *" .. getPlayerName ( source ) .. ":#FFFFFF " .. msg, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "ACL" ) ) and type == 0 then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#A000FF*[ CB ] *" .. getPlayerName ( source ) .. ":#FFFFFF " .. msg, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "ACL" ) ) and type == 0 then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#A000FF*[ King ] *" .. getPlayerName ( source ) .. ":#FFFFFF " .. msg, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "ACL" ) ) and type == 0 then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#A000FF*[ PRO ] *" .. getPlayerName ( source ) .. ":#FFFFFF " .. msg, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "Everyone" ) ) and type == 0 then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( " " .. getPlayerName ( source ) .. ":#ffffff " .. msg, getRootElement(), r, g, b, true ) end end )
  16. and write to skin id after set element model? so? i think this is not good 'onElementModelChange' if not isObjectInACLGroup aclGetGroup setElementModel 1 And thank you!
  17. I want to change the 3 spawn places... and how to delete automatically cars on the spawn places? my broph.lua: local spawnpoint addEventHandler("onResourceStart", resourceRoot, function() spawnpoint = getRandomSpawnPoint() resetMapInfo() for i,player in ipairs(getElementsByType("player")) do spawn(player) end end ) function spawn(player) if not isElement(player) then return end if get("spawnreset") == "onSpawn" then spawnpoint = getRandomSpawnPoint() end exports.spawnmanager:spawnPlayerAtSpawnpoint(player,spawnpoint,false) repeat until setElementModel(player,math.random(312)) fadeCamera(player, true) setCameraTarget(player, player) showChat(player, true) end function getRandomSpawnPoint () local spawnpoints = getElementsByType("spawnpoint") return spawnpoints[math.random(1,#spawnpoints)] end addEventHandler("onPlayerJoin", root, function() spawn(source) end ) addEventHandler("onPlayerQuit",root, function () if getPlayerCount() == 1 and get("spawnreset") == "onServerEmpty" then spawnpoint = getRandomSpawnPoint() end end ) addEventHandler("onPlayerWasted", root, function() setTimer(spawn, 1800, 1, source) end )
  18. How to i do the skin only for the admins? Please anybody help me
  19. So? Its good? onResourceStart setWaterColor red
×
×
  • Create New...