Jump to content

A3kri

Members
  • Content Count

    84
  • Joined

  • Last visited

Community Reputation

0 Neutral

About A3kri

  • Rank
    Transformer
  • Birthday 28/06/1996

Details

  • Gang
    Muqsha ~ RRCity
  • Location
    Bahrain
  • Occupation
    An Android developer.

Recent Profile Visitors

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

  1. thnx, I used your serversided function, that what I needed x.x I used F7 to show/~ the gui
  2. Hellow .. I made gui and i can make it visible using the F7. I want it to be visible using triggerClientEvent .. so I make onPlayerSpawn and the event gets triggered addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(166, 96, 545, 402, "credits", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1],false) GUIEditor.staticimage[1] = guiCreateStaticImage(16, 31, 152, 127, "banshee.png", false, GUIEditor.window[1]) end ) bindKey('F7','down', function (
  3. thanks, what I did was i set them to nil then re set them to a value which made it possible =)
  4. Hello .. I have an if statement inside function1 which has two variables, source and source2. is it possible to store these to variable for use in function2? function 1 ( ) if ( xxx == 1) then outputChatBox (getPlayerName(source1) .. "< source1 " .. getPlayerName(source2) .. "< source2 ", getRootElement (), 255, 170, 0 ) toggleControl (source1, "fire", false ) end end function 2( ) givePlayerMoney(source1, 10000) end is it possible?^
  5. A3kri

    getLocalPlayer

    yes i solved it x.x but you answered before i edit lol thanks very much
  6. A3kri

    getLocalPlayer

    thanks, it's fine.
  7. A3kri

    getLocalPlayer

    I know this may sound stupid but Idk why it doesn't work x.x local myMarker = createMarker ( -710.25555419922, 962.29443359375, 12.410507202148, "cylinder", 1.5, 255, 0, 0, 255 ) addEventHandler ( "onClientMarkerHit", myMarker, function () outputChatBox ( " hi " .. getPlayerName(getLocalPlayer()), getRootElement(), 100, 100, 100, true ) end) nothing happens while it should print hi xxxxx
  8. السلام عليكم .. رمضان كريم .. عندي عصا الغولف الي رقمها 2 golfclub وبغيت لين ضربت إبها شخص player يصير .. outputChatBox ( player .. was hit with a goldclub. LOOL, source ) أتمنى فهمتون عليي
  9. oh, so I cant make when I hit a car with nightstick it blows up ?
  10. Hello .. addEventHandler ( 'onClientWeaponFire', getLocalPlayer(), function ( weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement ) if ( weapon == 3 ) and ( getElementType ( hitElement ) == 'vehicle' ) then blowVehicle ( hitElement ) end end ) it should blow ay vehicle i hit by my nightstick .. but nothing happens
  11. A3kri

    interior help

    thanks, my problem was in the "6" x.x
  12. A3kri

    interior help

    local Marker = createMarker ( 2244.4313964844, -1665.2449951172, 15.4765625, "arrow", 1.5, 255, 255, 0, 255 ) addEventHandler("onClientMarkerHit",Marker, function() setElementPosition ( getLocalPlayer(), 297.4460, -109.680, 1001.5160 ) end) this is it.
  13. A3kri

    interior help

    Hello .. I made a marker and with setElemeentPosition I want the player to transfer to the ammu shop ID 6: Ammu-Nation 3 297.4460 -109.9680 1001.5160 when I set the coordinates in the setElementPosition it transfer me to another place not the ammu place
×
×
  • Create New...