Jump to content

[HELP] this script


PleaseScript

Recommended Posts

Hello people I was wondering if anyone knows how to do what I want it like when someone we enter / createMarker a message to all event created successfully enter / irevento go the player to enter into the Marker that the administrator created a system of type event if someone could help me I appreciate Thank you and until it

function consoleCreateMarker ( thePlayer, commandName ) 
   if ( thePlayer ) then 
      local x, y, z = getElementPosition ( thePlayer ) 
      local theMarker = createMarker ( x + 2, y + 2, z, "cylinder", 1.5, 255, 255, 0, 170 ) 
      if ( theMarker ) then 
         outputConsole ( "Marker created successfully", thePlayer ) 
      else 
         outputConsole ( "Failed to create marker", thePlayer ) 
      end 
   end 
end 
addCommandHandler ( "createmarker", consoleCreateMarker ) 

Link to comment
    function consoleCreateMarker ( thePlayer, commandName ) 
       if ( thePlayer ) then 
          local x, y, z = getElementPosition ( thePlayer ) 
          theMarker = createMarker ( x + 2, y + 2, z, "cylinder", 1.5, 255, 255, 0, 170 ) 
          if ( theMarker ) then 
             outputConsole ( "Marker created successfully", thePlayer ) 
          else 
             outputConsole ( "Failed to create marker", thePlayer ) 
          end 
       end 
    end 
    addCommandHandler ( "createmarker", consoleCreateMarker ) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...