Jump to content

Evil-Cod3r

Members
  • Posts

    370
  • Joined

  • Last visited

Everything posted by Evil-Cod3r

  1. ok Thanx Darken again
  2. play the music from the url you put this
  3. is there any function or event that get any musice ulr i put?
  4. Hi all is there any function or event that if i have a music url can get it form any where like my music www.music.com/music1/ is there a function or event can get any url i put ?
  5. lol i have it i got this one and the black one how mutch you are ready to pay me and darken 50-50 iam just kiding i well send it priavte msg to you
  6. yes in saudi araba this url is Blocked
  7. The image dosnt show !
  8. lol i didnt know ok now i get it
  9. marker1 = createMarker(934, -1452, 14.5, "arrow", 1.5, 230, 251, 3, 153) function Hit1 ( hitElement, matchingDimension ) local Type = getElementType( hitElement ) local vehicle=getPedOccupiedVehicle(source) setElementPosition(Type, -354.3, -3786.8000976563, 16.40000038147) setElementFrozen(Type, false) setTimer(setElementFrozen, 1000, 1, Type, false) end end end addEventHandler("onMarkerHit", marker1, Hit1) marker2 = createMarker(934, -1452, 14.5, "arrow", 1.5, 230, 251, 3, 153) function Hit2 ( hitElement, matchingDimension ) local Type = getElementType( hitElement ) local vehicle=getPedOccupiedVehicle(source) setElementPosition(Type, -354.3, -3786.8000976563, 16.40000038147) setElementFrozen(Type, false) setTimer(setElementFrozen, 1000, 1, Type, false) end end addEventHandler("onMarkerHit", marker2, Hit2)
  10. Thanx Castillo for this now i well study it to be good scripter just like you thanx Darken for help to
  11. i have made this as a start for learn lua and how to make simple roll local alreadyWon = false local word = { 'SoldSnake14' 'Evil-Cod3r' } addEventHandler('onPlayerChat',root, function(message, messageType) if (messageType == 0 and message == word) then if ( not alreadyWon ) then local win = math.random (1, 100) local Random = word[ math.random( word ) ] alreadyWon = true givePlayerMoney(source, win) outputChatBox(getPlayerName(source) .." was The First Player and got $".. win.. "!",root,255,255,0,false) else outputChatBox("Next Time Try To Be More Faster !",source,255,0,255,false) end end end )
  12. Castillo i have 2 questions 1- Can i make a table for The Words ? 2- is it will give all players Money or just the one who type it ?
  13. i want as Draken write not a command a a word type in chat then win like this ?? local Name = getPlayerName(source) local g_Root = getRootElement() local win = math.random (1,100) local first = false addEventHandler('onPlayerChat',root, function(message, messageType) if messageType == "0" and message == "money" then if (first) then givePlayerMoney(source,win) outputChatBox(Name .." was The First Player and got".. win.. "$ !",g_Root,255,255,0,false) else outputChatBox("Next Time Try To Be More Faster !",source,255,0,255,false) end end end )
  14. Hi all how to Make script that give money if player write in the chat the correct word ? like [Random] the faster one type "mta" get Money if some type it (getPlayerName(source) .. is the faster typer and got ... i want some one make halft of it so i can learn how to Make it by my self thx all
  15. Evil-Cod3r

    Help

    ok you. welcome
  16. why dont you use this https://wiki.multitheftauto.com/wiki/OnClientPreRender
  17. Evil-Cod3r

    Help

    use what SoldSnake14 Post Up !
  18. Evil-Cod3r

    Help

    Oh Now i get it Thanx Castillo For The Example
  19. Evil-Cod3r

    Help

    trigger a event from client side to request it to trigger to client side, ؟؟ how is that can you show me simple exmaple
  20. Evil-Cod3r

    Help

    so his script have problem or his server got a problem ?
  21. Evil-Cod3r

    Help

    but its exists in his script isnt it ? 3.addEvent('swaptoggle',true) 4.addEventHandler("swaptoggle", getRootElement(),
  22. Evil-Cod3r

    Help

    SoldSnake14 then what is the problem with this error?? Server triggered clientside event ========, but is not added clientside
×
×
  • Create New...