Jump to content

1LoL1

Members
  • Posts

    944
  • Joined

  • Last visited

Everything posted by 1LoL1

  1. It's hard search? --> HERE But you need add more country.
  2. setElementData( player, "blood", 99999999999999999999999 ) setElementData( player, "bleeding", 0) setElementData( player, "brokenbone", false)
  3. 1LoL1

    Help Me

    He want to DECOMPILE script.
  4. 1LoL1

    [HELP] Please

    Doesn't work. when i use /n nothing.
  5. 1LoL1

    [HELP] Please

    Hello, why in this my code doesn't work callRemote? function n () local server = "LOL" callRemote ( "ip", getResourceName(getThisResource()), "outputChatBoxRemote", server.." is good server "..getPlayerCount().."", type, server ) end addCommandHandler("n", n) WARNING: Bad argument @ "callRemote" [Expected function at artument 4, got string, LOL is good server 1"]
  6. Wrong section use here --> Here
  7. spawner = createMarker (268.06826782227, 1361.6530761719, 9.5859375, "cylinder", 5.0, 243, 241, 13 ) function theSpawner() if spawner == source then local team = getPlayerTeam(source) if team == "PatrolWorker" then triggerClientEvent("jobSpawner", root) else outputChatBox("You must be a Patrol Worker to use this marker") end end end addEventHandler("onMarkerHit", getRootElement(), spawner, theSpawner)
  8. Use math.random givePlayerMoney ( player, math.random(Amount)) or local mymarker = createMarker(-2596.625, 579.358, 15.626, 'cylinder', 2.0, 255, 0, 0, 150) function MarkerHit( hitElement, matchingDimension, player ) givePlayerMoney(player, 50) end addEventHandler("onMarkerHit", mymarker , MarkerHit )
  9. 1LoL1

    [HELP] Script

    What? i don't want own mute i want this what i say.
  10. 1LoL1

    [HELP] Script

    Can anyone please help me?
  11. I wrote to the PM so look there
  12. 1LoL1

    math. function

    math.floor But i think math.floor is: 16.66666667 --> 16
  13. 1LoL1

    [HELP] Please

    Test :# function d (cmd) outputChatBox("Player "..source.." --> "..cmd.."", getRootElement(), 255, 255, 255, true) end addEventHandler("onPlayerCommand", getRootElement(), d) The source of this event is the player who tried to execute a command no your script is wrong but thanks i fixed. function d (cmd) local f = getPlayerName(source) outputChatBox("Player "..f.." --> "..cmd.."", getRootElement(), 255, 255, 255, true) end addEventHandler("onPlayerCommand", getRootElement(), d)
  14. 1LoL1

    [HELP] Please

    Hello i created this script but i have 1 error can anyone fix this? or i must define "cmd"? function d (player, cmd) outputChatBox("Player "..player.." --> "..cmd.."", getRootElement(), 255, 255, 255, true) end addEventHandler("onPlayerCommand", getRootElement(), d) ERROR: attempt to concatenate local "cmd" (a nil value)
  15. 1LoL1

    [HELP] Script

    Thanks works but when i added 2nd addEventHandler not work and when i have hex code in nick i'am not kicked Firewall = { [ 'PlayerName' ] = 'SerialPlayer', [ 'TEST' ] = '9C9F3B55D9D7BB7135FF274D3BF444E4', [ 'Name2' ] = 'Serial', } function kick ( ) for Nick,Serial in pairs ( Firewall ) do if getPlayerName ( source ) == Nick and getPlayerSerial ( source ) ~= Serial then kickPlayer ( source, "Reason: !" ) end end end addEventHandler ( 'onPlayerJoin', getRootElement(), kick) addEventHandler ( 'onPlayerChangeNick', getRootElement(), kick)
  16. 1LoL1

    [HELP] Script

    thanks but not work ._. 0 errors 0 warnings
  17. 1LoL1

    [HELP] Script

    Hello, i copied and edited code from wiki but not work can anyone help me? Firewall = { [ 'PlayerName' ] = 'SerialPlayer', [ 'Name1' ] = 'Serial', [ 'Name2' ] = 'Serial', } addEventHandler ( 'onPlayerJoin', getRootElement ( ), function ( _, source ) local Serial = Firewall[getPlayerName(source)] if ( Serial ) then if Serial ~= getPlayerSerial ( source ) then kickPlayer ( source, "..." ) end end end )
  18. 1LoL1

    [HELP] Script

    Not. Now it works is that when a player gets mute so gets 1 ttt and when I give him so unmute gets 1 ttt .. and also I want this: When a player gets mute so one gets ttt and when I give him unmute so nothing will happen only when you receive mute so gets 1 ttt
  19. 1LoL1

    [HELP] Script

    i mean this omg -________________________- function ttt () setElementData(source, "ttt", getElementData(source, "ttt") + 1) end addEventHandler("onPlayerMute", getRootElement(), ttt) this work but when i unmuted player he get too 1x ttt and i want only when player muted so i know this is wrong but i want this if addEventHandler("onPlayerUnmute", getRootElement(), ttt) then cancelEvent() so i must use? removeEventHandler
×
×
  • Create New...