Jump to content

iMr.3a[Z]eF

Members
  • Posts

    862
  • Joined

  • Last visited

Everything posted by iMr.3a[Z]eF

  1. put it under the codes in the gamemod
  2. After downloading the script i posted it up
  3. Explain me more. Because i don't understand what you say
  4. because you dont own the script for this exported function https://community.multitheftauto.com/ind ... ails&id=16
  5. all examples are here Shader
  6. Yeah but it also shows up in the scoreboard. Edit: Removed the function. Thanks. what do you mean by "Removed the function"?
  7. So learn viewtopic.php?f=148&t=40809
  8. getPedAnimation this function is ClientSide only
  9. getBlipColor setPlayerNametagColor
  10. only this? local marker = createMarker ( x, y, z, "cylinder", 1.5, 255, 0, 0, 170 ) addEventHandler( "onMarkerHit", function ( player ) if getElementType(player) == "player" then local PlayerTeam = getPlayerTeam ( player ) local Team = getTeamFromName ( "staff" ) if playerTeam == Team then outputChatBox ( "* welcome Staff ", player, 255, 0, 0) else killPed(player) end end end )
  11. you want on marker hit, show the GUI window and create a car? if you mean that ~# Client Side GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(818, 280, 319, 593, "Car Spawner By Amine ", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.73) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF000000") GUIEditor.button[1] = guiCreateButton(853, 320, 246, 113, "", false) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(854, 448, 245, 121, "", false) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") GUIEditor.button[3] = guiCreateButton(855, 585, 244, 120, "", false) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFAAAAAA") GUIEditor.button[4] = guiCreateButton(854, 718, 245, 114, "", false) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFAAAAAA") end ) guiSetVisible (GUIEditor.window[1] , false) addEventHandler("onClientRender", root, function() dxDrawText("Infernus", 879, 351, 1071, 415, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("Infernus", 879, 349, 1071, 413, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("Infernus", 877, 351, 1069, 415, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("Infernus", 877, 349, 1069, 413, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("Infernus", 878, 350, 1070, 414, tocolor(114, 0, 254, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("NRG-500", 893, 477, 1064, 548, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("NRG-500", 893, 475, 1064, 546, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("NRG-500", 891, 477, 1062, 548, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("NRG-500", 891, 475, 1062, 546, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("NRG-500", 892, 476, 1063, 547, tocolor(254, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("Turismo", 894, 610, 1063, 683, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("Turismo", 894, 608, 1063, 681, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("Turismo", 892, 610, 1061, 683, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("Turismo", 892, 608, 1061, 681, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("Turismo", 893, 609, 1062, 682, tocolor(101, 254, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("Sultan", 911, 744, 1063, 816, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("Sultan", 911, 742, 1063, 814, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("Sultan", 909, 744, 1061, 816, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("Sultan", 909, 742, 1061, 814, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("Sultan", 910, 743, 1062, 815, tocolor(49, 125, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) end ) local marker = createMarker( 1464.9000244141, -83.099998474121, 19.10000038147 , "cylinder", 1.5, 0 ,0, 128, 155) function giveVehicle(thePlayer) if getElementType(thePlayer) == "player" then guiSetVisible (GUIEditor.window[1] , true) end end addEventHandler("onClientMarkerHit", marker, giveVehicle) addEventHandler ( "onClientGUIClick", root, function (player) if getElementType(player) == "player" then local x,y,z = getElementPosition(player) if source == GUIEditor.button[1] then local a = createVehicle ( 411 x,y,z ) -- Infernus warpPedIntoVehicle(player, a) guiSetVisible (GUIEditor.window[1] , false) elseif source == GUIEditor.button[2] then local b = createVehicle ( 522 x,y,z ) -- NRG warpPedIntoVehicle(player, b) guiSetVisible (GUIEditor.window[1] , false) elseif source == GUIEditor.button[3] then local c = createVehicle ( 451 x,y,z ) -- Turismo warpPedIntoVehicle(player, c) guiSetVisible (GUIEditor.window[1] , false) elseif source == GUIEditor.button[4] then local d = createVehicle ( 560 x,y,z ) -- Sultan warpPedIntoVehicle(player, d) guiSetVisible (GUIEditor.window[1] , false) end end end )
  12. https://forum.multitheftauto.com/viewtopic.php?f=91&t=18919 i can't see the codes clearly
  13. @aim-killer: you missed local at the begin of "a,b,c"
  14. يخوي هو سوا كلاينت وسيرفر وبس يبي أختصارات للنيترو وزي كذا لو يضغط 1 يجي له نيترو 2 ريباير 3 انفيسبل 4 فليب وهذا كله للريس
  15. about the Admin Panel https://forum.multitheftauto.com/viewtopic.php?f=148&t=61637 press and hold Tap till it shown successfully, then press "F7" while you are holding the tap this is all what i know
  16. its no't full codes, i can't help you like this -.-
  17. I said he can change "onClientPlayerDamage" to "onPlayerDamage" with out using trigger So, it's become like this> "onPlayerDamage" -- event getPlayerTeam setElementHealth givePlayerMoney
  18. Dude i gived him an Example also he can edit what i gived to him i know he is smart because he made his codes at the beginning of the topic
×
×
  • Create New...