Jump to content

villr

Members
  • Posts

    158
  • Joined

  • Last visited

Everything posted by villr

  1. Got a suggestion! Lets say a player is inactive on a server, or he cant come ingame because hes crasched blabal, you could make like a sell button for admins to sell the house, because if u destroy it u need to remake it again
  2. Could you remove those? I dont want them anymore. https://community.multitheftauto.com/index.php?p=resources&s=details&id=739 https://community.multitheftauto.com/index.php?p=resources&s=details&id=766 https://community.multitheftauto.com/index.php?p=resources&s=details&id=780 https://community.multitheftauto.com/index.php?p=resources&s=details&id=785
  3. loolz,it dont even work in MTA 1.0.5.. Still same problem,when i start the script and joins this is the problem,ERROR: Client triggered serverside event JRBank_onPlayerResourceDownloaded, but event is not added serverside and without that dosent the script works.. i really wanna use this script
  4. anybody that this resource is working for
  5. gotta ask you,could you email me a map file with banks things in it? and if i gonna have this wroking,what i start first the map or the jrbank?
  6. hey there.. i wanna know how i can disable the command /kill when i am in jail,else u know.. u can avoid with /kill any ideas?
  7. just saying ^^^ i see this markers are from my script,xDD is the script not wokring? not telling u stoled
  8. villr

    toggle on/off

    thank you TAPL this works very fine you're my hero
  9. villr

    toggle on/off

    the script works but it does outpout this errors sometimes, server.lua:83: bad argument @ 'getPlayerAccount' excepted element at argument1,got nil
  10. villr

    toggle on/off

    thank you. yea but im not so good on this parts of scripting so how could i know it? ...
  11. villr

    toggle on/off

    dident work to turn it off,error : line:98 addEventHandler: 'onPlayerDamage' with this function is already handled
  12. villr

    toggle on/off

    i got a code here,its serversided but i want make a toogle for it but idk how i gonna make it. anybody that can help me? function damageCheck(attacker, weapon) local playeraccount = getPlayerAccount ( attacker ) if ( playeraccount ) and not isGuestAccount(playeraccount) then if getAccountData ( playeraccount, "carshow" ) then if(weapon == 5)then setElementPosition(source,1891.14,-1881.70,13.47) else end end end end addEventHandler( "onPlayerDamage", getRootElement(), damageCheck )
  13. hmm okay but then i need help beacuse idk how i gonna make this server side
  14. code function damageCheck(attacker, weapon) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) and not isGuestAccount(playeraccount) then if getAccountData ( playeraccount, "carshow" ) then if(weapon == 5)then local x, y, z = getElementPosition(getLocalPlayer()) setElementPosition(getLocalPlayer(), x + 20, y + 50, z + 80) else end end end end addEventHandler( "onClientPlayerDamage", getLocalPlayer ( ), damageCheck ) problem client.lua attemp to call globar 'getPlayerAccount' (a nil value somebody can help me the script is when i hit with my basebool bat its only for the peoples with the accountdata 'carshow' that can use it,its for use at carshows like throw out,but i cant get it to work for only them anybody out there that can help me?
  15. qaisjp thank you very mutch!!! ))
  16. i have only your clientside will test it when i can.
  17. yea but i gonna wait for him beacause i dont got any multiplayer server... for the moment
  18. i just saw the post it does not show any errors but i tryed hit a npc and nothing happend but i got to wait until my friend is back so i can test it with him and see
  19. WARNING: batScript\server.lua:6: Bad argument @ 'addEventHandler' [Expected element at argument 2, got nil] loading script failed:client.lua:3 unexpected symbol near ')'
  20. i dont need the clientside to fix its the serverside that is wrong!!
  21. that moves all players i just want to move the player that got hit
×
×
  • Create New...