-
Posts
158 -
Joined
-
Last visited
Everything posted by villr
-
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
-
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
-
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
-
anybody that this resource is working for
-
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?
-
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?
-
just saying ^^^ i see this markers are from my script,xDD is the script not wokring? not telling u stoled
-
thank you TAPL this works very fine you're my hero
-
the script works but it does outpout this errors sometimes, server.lua:83: bad argument @ 'getPlayerAccount' excepted element at argument1,got nil
-
thank you. yea but im not so good on this parts of scripting so how could i know it? ...
-
dident work to turn it off,error : line:98 addEventHandler: 'onPlayerDamage' with this function is already handled
-
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 )
-
solved in another way
-
hmm okay but then i need help beacuse idk how i gonna make this server side
-
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?
-
qaisjp thank you very mutch!!! ))
-
i have only your clientside will test it when i can.
-
yea but i gonna wait for him beacause i dont got any multiplayer server... for the moment
-
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
-
WARNING: batScript\server.lua:6: Bad argument @ 'addEventHandler' [Expected element at argument 2, got nil] loading script failed:client.lua:3 unexpected symbol near ')'
-
i dont need the clientside to fix its the serverside that is wrong!!
-
that moves all players i just want to move the player that got hit