Jump to content

ahmedborch123

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ahmedborch123's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. pleas help warning: medic1\client.lua:33: bad argument @ 'addEventHandler' [expected element at argument 2 got nil mta] GUIEditor = { button = {} } local spaaa addEventHandler("onClientResourceStart", resourceRoot, function() spaaa = guiCreateButton(494, 849, 309, 73, "spawn", false) guiSetVisible ( spaaa,false) end ) function ahmed() guiSetVisible (spaaa,true) showCursor(true) end addCommandHandler("aa",ahmed) --addEventHandler("onClientPlayerWasted",root,ahmed) -- onClientPlayerWasted soon function spaw(button) --local x, y , z = getElementPosition (theplayer) if button == "left" then setElementHealth(localPlayer,100) local a,z,y = 1182.58582, -1323.69434, 13.57902 setElementPosition (localPlayer,1182.58582, -1323.69434, 13.57902) guiSetVisible ( spaaa,false) showCursor(false) end end --addCommandHandler("bb",spaw) addEventHandler( "onClientGUIClick", spaaa, spaw, false ) --1182.58582, -1323.69434, 13.57902 function createMinigunWeapon() -- Create the weapon 1 meter above the player local x, y, z = getElementPosition(localPlayer) local weapon = createWeapon("minigun", x + 1, y, z) -- Give it some ammo and fire it setWeaponClipAmmo(weapon, 99999) setWeaponState(weapon, "firing") -- Optionally adjust for model rotation (this value will be different for other weapons) setWeaponProperty(weapon, "fire_rotation", 0, -30, 0) end addCommandHandler("createminigun", createMinigunWeapon) --[[GUIEditor = { button = {}, window = {} } GUIEditor.window[1] = guiCreateWindow(174, 135, 490, 299, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1], true) showCursor (true) GUIEditor.button[1] = guiCreateButton(449, 29, 27, 35, "X", false, GUIEditor.window[1]) function hidegui() guiSetVisible(GUIEditor.window[1], false) showCursor ( false ) end addEventHandler ( "onClientGUIClick", GUIEditor.button[1], hidegui, false ) ]]
×
×
  • Create New...