Jump to content

Sparrow

Members
  • Posts

    378
  • Joined

  • Last visited

Everything posted by Sparrow

  1. Salut all, Je fais une script pour login/register est elle travaille bien Line => https://community.multitheftauto.com/index.php?p=resources&s=details&id=3283 EDIT: Le script a été suprimé
  2. Sparrow

    Help.

    You're welcome
  3. Sparrow

    Help.

    This should work for admins only: local markers = {} local blips = {} function consoleCreateMarker ( playerSource ) if ( hasObjectPermissionTo ( playerSource, "function.kickPlayer", false ) ) then if ( hasObjectPermissionTo ( getThisResource (), "function.kickPlayer", true ) ) then if ( playerSource ) then local x, y, z = getElementPosition ( playerSource ) markers[playerSource] = createMarker ( x, y, z, "checkpoint", 2, 255, 0, 0, 255 ) blips[playerSource] = createBlipAttachedTo(markers[playerSource], 53) end end end end addCommandHandler ( "createmarker", consoleCreateMarker ) function consoleDestroyMarker ( playerSource ) if ( isElement(markers[playerSource]) and isElement(blips[playerSource]) ) then destroyElement(markers[playerSource]) destroyElement(blips[playerSource]) markers[playerSource] = nil blips[playerSource] = nil end end addCommandHandler ( "destroymarker", consoleDestroyMarker )
×
×
  • Create New...