Search the Community
Showing results for tags 'how'.
-
Hello to all Please help me build a referral system I want to make sure that each player sends another player to the server with a referral and receives a prize And have commands like / myref. For example Server: Your Referral Number is 10 my referral is 10 Quick thanks for help. Thank you all
-
I want create a script, which play a sound, when a player shot another player head. But the sound play for killed player and localplayer too. How to make this?
-
I want create a bank-system. But i don't know, how to begin the script. Can i make it possible this with setElementData, and getElementDatas? sorry for my bad english
-
I want create a script, which tp a player to me, and teleport me to a player, like in admin panel, just with command. How to make this? For example: /tpto playername , and /tpme playername. And when i teleport a player to me, the player get out from vehicle
-
I want create a script, which creates a 3d text with a cmd. For example, when i type "/word asd" then this make a 3d text the player position "#playername : asd", then after elapse 3 hours, the text will hide. How to make this?
-
I want create a sound requester script, but how to convert yt link to mp3 with script? Sorry for my very bad english.
-
I want create this effect: Effect with a dx image. But i don't know, how to make this possible.. Anyone can help?
-
How to get mute remaining time? For example i write /getmute, and then output "Mute remaining time: 5 mins", or "You are not muted". Sorry for my bad english.
-
For example, when i have 1.000.000$ convert to: 1M$, or if i have 2.400.000$ convert to: 2.44M$. How to make this possible?
-
This is the code (not the full): addEvent("robbed", true ) addEventHandler("robbed", root, function () setTimer(function() addEventHandler("onClientRender",root,remainingtime); resetTimer(remainingt) end, 10000, 1) setTimer(function() removeEventHandler("onClientRender",root,remainingtime); resetTimer(remainingt) end,1800000,1) end) and when i reconnect to the server, the remainingtime dx elements are hide.. how to fix this?
-
function test() setElementPosition ( mark, pos.x,pos.y,pos.z ) end addEventHandler("onMarkerHit", mark, test) this is the code. if i hit the marker, the element position change for all players.. how to fix this? sorry for my bad english.
-
I want create a script, which create a marker with random position, from a table. How to make this?
-
this is the code: and the problem: if i'm far away then the dx elements will be bigger, and when i'm closer.. how to fix this?
-
this is the code(not the full code): function markerbelepkocsival() if isPedInVehicle ( localPlayer ) then local playerVehicle = getPlayerOccupiedVehicle ( localPlayer ) addEventHandler("onClientRender", root, paynspray1) addEventHandler("onClientRender", root, paynspray2) addEventHandler("onClientRender", root, paynspray4) guiSetVisible(GUIEditor.button[1], true) guiSetVisible(GUIEditor.button[2], true) guiSetVisible(GUIEditor.button[3], true) setElementFrozen ( playerVehicle, true ) playSound("1.mp3") showChat(false) showCursor(true) end end addEventHandler ( "onClientMarkerHit", merker1, markerbelepkocsival ) when i hit the marker, the panel will appear to everyone.. how to fix this? :c
-
I added this: to the nametag script.. but with 1-2 player working fine, and with more players, always show the chaticon.. How to fix this?
-
i want make a joinquit script, but i want the join, disconnect..etc messages show in right side, like killmessages, it is possible? if yes, how??
-
Hello I have a nametag script. And i have a chat-icon script too. But i want add the chat-icon thing to nametag script, above the player nametag. And do not appear for me, just another players. This is possible? If yes, how? Sorry for my bad english..
-
i created a HUD with rectangles (bg rectangle, hp, armor...etc), and i want this make movable, so that move at the same time, but i don't know how to make this possible anyone can help? sorry for my bad english :c
-
I downloaded this script ( https://community.multitheftauto.com/index.php?p=resources&s=details&id=12899 ) from the community. But i want make this only available for admins. How to make this? (Sorry for my very bad english:/)
-
Hi, the problem in race gamemode is when i have money, and start a new map, the money will reset to 0. How to fix this irritating problem?
-
i have this code in client side: function onMachineClick(button, state, absoluteX, absoluteY, worldX, worldY, worldZ, element) if element and getElementType( element ) == "object" and button == "left" and state == "down" and getElementModel(element) == 1829 then triggerServerEvent ("eszakirablas", root, getLocalPlayer()) end end addEventHandler("onClientClick", getRootElement(), onMachineClick) but i want add this to server side, is it possible?