Jump to content

Kasem

Members
  • Posts

    15
  • Joined

  • Last visited

About Kasem

  • Birthday 18/11/1993

Kasem's Achievements

Square

Square (6/54)

0

Reputation

  1. Kasem

    Group system

    sorry i don't undrestand can u help me
  2. Well,lately I've been trying to replace a skin,and when I start/restart the resource the skin flashes and gets to normal without replacing anything, addEventHandler("onClientResourceStart",resourceRoot, function () txd = engineLoadTXD("285.txd") engineImportTXD(txd, 285) end)
  3. Kasem

    About bases

    hi please i have two question about bases mapping . 1- How to know my base coordonation ( x , y , z ) 2- how can i move all object in the same time
  4. So I want to create a very simple script, but it's not working. When a player dies, I want them to spawn at the location I provided. how can i do this
  5. Hello Brian , go check my answer
  6. Kasem

    Countdown

    i am sorry i am new in scripting can explane to me what's the difference between Client & server
  7. Kasem

    Countdown

    hi please i have a question about how To Add a countdown in a marker when the player stand up inside the marker he will se a Countdown in the screen i want it to start from 10:00 muite to 00:00 when the Countdown finnish the gate will be opened automatic .
  8. Kasem

    Moving Gate

    i think there is something wrong here : marker = createMarker(576,-2031.5,5.4000000953674,"cylinder",255,0,0,255) function teleport(player) setElementPosition(player,576.099609375,-2035,5.4000000953674) end end end addEventHandler("onClientMarkerHit", getRootElement(), teleport)
  9. Kasem

    Moving Gate

    Error : Loading script failed: Death-race\gate.lua:19: '}' expected near 'end' but this time i fixed it alone thx bor for ur help i got a new lesson in lua language today but i want to ask u one more question how to script a teleport .
  10. Kasem

    Moving Gate

    ok bro thx i will do it now Edit : Ok correct or not local gateMoveTable = { { ["element"] = createObject(986,586,-1906.0999755859,3,0,0,355.74279785156), ["open"] = {500,579.20001220703,-1905.5999755859,3}, ["close"] = {500,586,-1906.0999755859,3}, } { ["element"] = createObject(985,593.90002441406,-1906.6999511719,3,0,0,355.74279785156), ["open"] = {500,600.59997558594,-1907.1999511719,3}, ["close"] = {500,593.90002441406,-1906.6999511719,3}, } } local manageGate = function (player,command) for i=1,#gateMoveTable do local gateTable = gateMoveTable[i] moveObject(gateTable["element"],unpack(gateTable[command])) end end addCommandHandler("open", manageGate) addCommandHandler("close", manageGate) Error : Loading script failed: Death-race\gate.lua:7: '}' expected near '{'
  11. Kasem

    Moving Gate

    sorry i don't undrestand can u do it for me i need more experience in lua language : coordonation : - Gate 1 : (986,586,-1906.099609375,3,0,0,355.74279785156) Open coodonation : (Gate,500,579.29998779297,-1905.5999755859,3) Close coodonation : (Gate,586,-1906.099609375,3) Gate 2 : (985,593.900390625,-1906.6999511719,3,0,0355.74279785156) Open coodonation : (Gate,500,600.70001220703,-1907.1999511719,3) Close coodonation : (Gate,593.900390625,-1906.6999511719,3) how to script it together ?? can u do it for me use coordonation and please give the Meta.xml
  12. Kasem

    Moving Gate

    hi , as the title says i have a question about Moving gate , i create a base with left and right gate , all what i need how to script to move both in the same time : This for one gate : Gate = createObject(986,586,-1906.099609375,3,0,0,355.74279785156) function gateOpen() moveObject(Gate,500,579.29998779297,-1905.5999755859,3) end addCommandHandler("open", gateOpen) function gateClose() moveObject(Gate,500,586,-1906.099609375,3) end addCommandHandler("close", gateClose) Screenchot :
  13. Kasem

    About MTA menu

    hi please i have a question and i need help can any one tell me how to change MTA menu Note : i don't like to change style backgroud etc .... no just i want to change script exmplae in MTA menu there , Disconnect , Quit , about etc .... i want to add Facebook when i click it i will go directly to facebook Page .
×
×
  • Create New...