Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 31/10/20 in all areas

  1. Hi. This module is really old and unsafe. Use built-in MySQL functions instead.
    1 point
  2. For better performance, create an element and set it as the parent for the markers instead of adding an event for every single marker. local markersParent = createElement("markersParent") local t = { {2450, -1670, 12}, {2455, -1670, 12}, {2460, -1670, 12} } addEventHandler("onResourceStart", resourceRoot, function() for i = 1, #t do local v = t[i] local marker = createMarker(v[1], v[2], v[3], "cylinder", 2.5, 255, 255, 255) setElementParent(marker, markersParent) end end) addEventHandler("onMarkerHit", markersParent, function(hitElement) if getElementType(hitElement) == "player" then if isPedInVehicle(hitElement) then outputChatBox("Vehicles not allowed.", hitElement) else setElementPosition(hitElement, 2400, -1650, 12) outputChatBox("You're spawned.", hitElement) end end end)
    1 point
  3. Get real time uses seconds. ------------ -- server -- local timestamp = getRealTime().timestamp -- seconds local jailDuration = (60 * 4) -- seconds local jailEndTime = timestamp + jailDuration -- local remainingJailTime = jailEndTime - timestamp triggerClientEvent(player, "sync-jail-time", player, remainingJailTime ) -- the client only has to know this once ------------ -- client -- local jailEndTime addEvent("sync-jail-time", true) addEventHandler("sync-jail-time", localPlayer, function (remainingJailTime) jailEndTime = (remainingJailTime * 1000) + getTickCount() -- convert to miliseconds, to make it more accurate (as the machine times are not aligned by seconds) end, false) function getRemainingJailTime () if jailEndTime then local timeNow = getTickCount() return math.ceil(math.max(jailEndTime - timeNow, 0) / 1000) -- seconds end return 0 end
    1 point
  4. Spawn a hoverboard! Command : /hoverboard left shift for jump Add: Custom Animation. Custom Model. Hover Jump. Remove when leave the vehicle. Replace the Faggio. (Model and Animation arent mine) Link Community Resource Download YouTube Video
    1 point
  5. Pois não tem nenhum evento ativando ela. Vc só criou a função mas não está chamando ela em evento nenhum.
    1 point
  6. New Project Soon ... game & how to play a about AmongUS Among Us is a fun game that's packed with action and full of intrigue. Join a spaceship's crew as they travel through space... and discover that a lethal intruder has snuck aboard, intent on destroying the entire crew! All the action in Among Us plays out on a spaceship made up of different units. Start a new game -either online or against the computer- and you'll be assigned the role of either crewmate or imposter, which is kept secret from the other players. If you're the imposter, your goal is to wipe out the entire crew by sneaking up to them and hitting the kill button. But if you're part of the crew, you'll have to avoid the imposter and try to figure out who it is... before it's too late! To do so, a chat room with all the players appears after all the action, where they can discuss who they suspect the imposter is based on what they've seen during the game, and hold a vote. Players can also interact with some objects in the ship's rooms during the game. Overall, Among Us is a great multiplayer game, whether you're playing with friends or other players from all over the world. Board the spaceship and feel the thrill of discovering the imposter in every game! images about server And More... Features : - AUTO Login - COIN SYSTEM : - OPEN PACKAGE. - create server. -change name. You Can following a new update : JOIN NOW DISCORD SERVER S4CCn6Q thanks you
    1 point
  7. Yes, it needs admin rights Press P in game -> Resources -> Manage ACL -> Admin -> click on ,,Add Objects" -> resource.musicsearcher and click ok
    0 points
×
×
  • Create New...