Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. local spawns = { { 238.6613311767,141.05133056641,1003.0234375 }; { 190.87297058105,158.49531555176,1003.0234375 }; { 298.23620605496,172.01306152344,1007.171875 }; }; addEvent('onClientWatnsToSpawn', true) addEventHandler('onClientWatnsToSpawn', root, function (skin) if not isElement(source) then return end local x, y, z = unpack(spawns[math.random(#spawns)]) setTimer ( spawnPlayer,3000,1,source, x, y, z,0,skin,3); setTimer ( fadeCamera, 3000, 1, source, true, 0.5 ); setTimer ( setCameraTarget, 3000, 1, source, source ); showCursor ( source, false ); end ); addEventHandler ( 'onPlayerWasted', root, function () local id = getElementModel (source) fadeCamera ( source, false, 1.0, 0, 0, 0 ); setTimer ( fadeCamera, 3500, 1, source, true, 0.5 ); local x, y, z = unpack(spawns[math.random(#spawns)]); setTimer ( spawnPlayer,3000,1,source, x, y, z,0,id,3); end );
  2. local spawns = { { 238.6613311767,141.05133056641,1003.0234375 }; { 190.87297058105,158.49531555176,1003.0234375 }; { 298.23620605496,172.01306152344,1007.171875 }; }; addEvent('onClientWatnsToSpawn', true) addEventHandler('onClientWatnsToSpawn', root, function (skin) if not isElement(source) then return end local x, y, z = unpack(spawns[math.random(#spawns)]) setTimer ( spawnPlayer,3000,1,source, x, y, z,0,skin); setTimer ( fadeCamera, 3000, 1, source, true, 0.5 ); setTimer ( setCameraTarget, 3000, 1, source, source ); showCursor ( source, false ); end ); addEventHandler ( 'onPlayerWasted', root, function () local id = getElementModel (source) fadeCamera ( source, false, 1.0, 0, 0, 0 ); setTimer ( fadeCamera, 3500, 1, source, true, 0.5 ); local x, y, z = unpack(spawns[math.random(#spawns)]); setTimer ( spawnPlayer,3000,1,source, x, y, z,0,id); end );
  3. No Problem but the map and...etc u have to edit the race gamemode
  4. No dont say that here : http://im39.gulfup.com/ZW1Q9.png and put the code in the box you see where i put it? put it there and after put this code : showPlayerHudComponent("all",false) put this to hide the chat : showChat(false) The same way put it in the box and press client button and that's all .
  5. Do you know thing about "Lua" ? if not then open server admin panel then resources "Tab" then "execteCommandHandler" You will see edit box but this code inside it and press client button and try ; showPlayerHudComponent("all",false)
  6. Ah i know what's the problem now! the player health is 200 not 100 !! "Fixed By MySelf"
  7. I Want same "lil_Today" Amdin panel "slap" part .
  8. No Am Making A Panel With 10 Buttons Ok? And if i click that button let's say -50 health and i have 30 health ok? when i press the button i get full health
  9. What am trying to do? You dont know until now ? Am trying to take health form my self if i have 50 and i take 90 then kill me
  10. The Same Problem i have 70 health i get full health !!
  11. Hello Guys, What's the problem with this function "setElementHealth" the problem is if i have 10 health and i do this : CountSlap = 0 addCommandHandler("slap", function ( plr ) if CountSlap then setElementHealth ( plr, getElementHealth(plr) - 90 ); CountSlap = CountSlap -90 outputChatBox("True") else outputChatBox("False") end end ) i get +90 bug or? what's the fuck ?
  12. And u want to change the button ؟
  13. activate it from "mtaserver.conf" file ; Line: 170 or not to enable player voice chat in-game Values: 0 - disabled, 1 - enabled -> 0 voice> Here 0 voice> To 1 voice> Change the number zero to 1 and after that you must restart the server .
  14. createMarker guiSetVisible showCursor getElementType "onClientMarkerHit"
  15. ممكن تعلمني وش نآوي تسوي؟
  16. iPrestege

    1s

    and where's the jail?
  17. Add this to admin group in ur acl.xml file : "resource.You're resource name">
  18. Add the resource to admin in the acl resource.res name
  19. false, false, true, true, false > ذولا جرب غيرهم كلهم لـ ترو اذا ماضبط قلي
×
×
  • Create New...