Jump to content

rublisk19

Members
  • Posts

    67
  • Joined

  • Last visited

Everything posted by rublisk19

  1. hey i all. i created race server with my friend but we have problem then map starts he need to download map all over again and over and over downloading again. Anyone could help me ?
  2. i have problem with script what add money every 10sec function addMoney () setElementData(source, "rpg.money", getElementData(source,"rpg.money") +10) end setTimer ( addMoney, 10000, 0) server error: attempt to perform arithmetic on a boolean value.
  3. i remember that in video was 2 person and just one was scaled
  4. yes i know this scale but doesn't scale player
  5. hi i have question how to scale player ??? to make it smaller or bigger i have sow it on youtube. Thanks for answers !
  6. I have problem then player hitmarker it open gui for all players how to fix that ??
  7. and other question i make this : setTimer(function() player = getRandomPlayer() x, y, z = getElementPosition(player) model1 = createObject(1654,0,0,0) outputChatBox(player.." become BOMBER!") if ( model1 ) then -- if it was created exports.bone:attachElementToBone(model1, player,3,0,-0.18,0.125,0,180,0) setTimer(kaboom, 5000, 1, player) end end, 10000, 0) this don't show text and doesn't add bomb
  8. yes i maked 2 explosions before you posted
  9. this works good thanks!! Edit: i have question then i create explosion is there any way to make is stronger becouse any explosion don't kill from hit
  10. Hi i started new project gamemode so have some problems. Here my script: I get error : Bad argument @ setTimer expected function 1 got nil
  11. thanks works fine and now how to make multiple jobs i make more markers then how to make gui that if i hit medic marker it writes medic info then if i accept that info i trigger 1 function and that function gets what marker triggered and sets job
  12. yes scripts works good but i have other idea. My target is then player hit marker it open gui
  13. how to trigger gui then player hit marker ?
  14. Your was wrong i fixed it : function moveThePlayer(player) local playerexp = getElementData(source, "EXP") if not playerexp then setElementData(source, "EXP", 0) playerexp = 0 end if (playerexp) >= 500 then setElementData(source, "JOB", "POLICININKAS") setElementModel(source, 280) outputChatBox ( "Sveikiname jus nuo siol esate pareigunas. Dirbkite atsakingai!", player) else outputChatBox ( "Jus neturite pakankamai patirties!", player) end end -- define our custom event, and allow it to be triggered from the client ('true') addEvent("giveJob",true) -- add an event handler so that when movePlayerToPosition is triggered, the function moveThePlayer is called addEventHandler("giveJob",root,moveThePlayer) Thanks for help
  15. Not work error: bad argument @ 'getElementData' [Expected element at argument 1, got nil] attemptto compare boolean with number
  16. ok i will try and this ? if not playerexp then setElementData(source, "Exp", 0) end i will delete it becouse this are on my login
  17. make handler or make function inside timer
  18. Hi am working on gui what checks if player have enough exp and then sets player job script ClientSide : and ServerSide : this scripts don't work got error: Bad argument @ 'getElementData' [Expected element at argument 1, got nil] attempt to compare boolean with number
×
×
  • Create New...