Jump to content

Multi

Members
  • Posts

    63
  • Joined

  • Last visited

Everything posted by Multi

  1. Multi

    fire

    Hell i want do a script that when player fire using chainsaw id = 9 then on chat will show message "cos", but it's not working, help. Debug = nothing bindKey("fire", "down", function(player) if ( player == localPlayer ) then if getPedWeapon (player, 9 ) then outputChatBox("cos") end end end )
  2. Multi

    Shoot

    someone meybe know a Function or Event for example: "If player will shoot from weapon then" ??
  3. Can someone give me example that if i enter label "zamknij": zamknij = guiCreateLabel(0, 454, 286, 58, "", false) then label "zaladuj" will show on screen zaladuj = guiCreateLabel(0, 356, 286, 58, "cccc", false) and when i leave label "zamknij" then label "Zaladuj" will close.... can someone help me
  4. Multi

    Siren

    Hello. How to do a blue and red siren using function "setVehicleSirens" when player will enter any vehicle?? and the red and blue siren will show on the middle of vehicle..., sorry for bad english
  5. i know but what's wrong??
  6. Client: function sprawdzanie18(player) if ( player == localPlayer ) then if getElementData (player, "18-19") == true then setElementData(player, "18-19", false) destroyElement( niewidok19 ) triggerServerEvent ("skonczyl", root, player, "Skonczyles Prace dostajesz 800$") end end end addEventHandler("onClientMarkerHit", sianie19, sprawdzanie18 ) server: addEvent ("Dajtraktor", true) function kombain(hitElement) kombajn = createVehicle (531 ,-1114.2630615234, -1057.6525878906, 128.6283416748, 0, 0, 270) setElementData(kombajn, "komb", true) warpPedIntoVehicle (hitElement, kombajn) end addEventHandler ("Dajtraktor", getRootElement(), kombain) -- this working i just want to tell you that the source "komb" is car. addEvent ("skonczyl", true) addEventHandler ("skonczyl", root, function(player, seat, jacked, text) if getElementData(source, "komb") == true then destroyElement(source) exports.informacje:pokazInfo (player, "info", text) end end) I have problem because the trigger in Client not working and i don't know why ;// please can you help me ?
  7. Multi

    Trigger

    Yes i mean only the Trigger not working, and i don't know why can someone help me?? triggerClientEvent (player, "koniecc", player ) -- not working
  8. Multi

    Trigger

    triggerClientEvent ("koniecc", getLocalPlayer(), player) This only not working the Komp is the Element of Car and it working to destroy but trigger not working why?
  9. Multi

    Trigger

    Why not working ??? Please help ;/ Server: function wyjdz(player, seat, jacked) if getElementData(source, "komb") == true then destroyElement(source) triggerClientEvent ("koniecc", getLocalPlayer(), player) end end addEventHandler("onVehicleExit", getRootElement(), wyjdz) Client: addEvent ("koniecc", true) addEventHandler ("koniecc", root, function (thePlayer) if thePlayer == getLocalPlayer() then setElementData(thePlayer, "wyjazd", false) setElementData(thePlayer, "1-19", false) setElementData(thePlayer, "2-19", false) setElementData(thePlayer, "3-19", false) setElementData(thePlayer, "4-19", false) setElementData(thePlayer, "5-19", false) setElementData(thePlayer, "6-19", false) setElementData(thePlayer, "7-19", false) setElementData(thePlayer, "8-19", false) setElementData(thePlayer, "9-19", false) setElementData(thePlayer, "10-19", false) setElementData(thePlayer, "11-19", false) setElementData(thePlayer, "12-19", false) setElementData(thePlayer, "13-19", false) setElementData(thePlayer, "14-19", false) setElementData(thePlayer, "15-19", false) setElementData(thePlayer, "16-19", false) setElementData(thePlayer, "17-19", false) setElementData(thePlayer, "18-19", false) setElementData(thePlayer, "19-19", false) destroyElement( niewidok2 ) destroyElement( niewidok3 ) end end )
  10. warpPedIntoVehicle not working why?? Client: addEventHandler("onClientGUIDoubleClick",doBusow, function(b) local player = getLocalPlayer() if b == "left" then local selected = guiGridListGetItemText(doBusow, guiGridListGetSelectedItem(doBusow), 1) if selected == "1889" then triggerServerEvent ("bus", getLocalPlayer(), player) end end end ) server: addEvent ("bus", true) function auto(hitElement) autob = createVehicle (431 ,-81.970573425293, 1080.3699951172, 19.7421875, 0, 0, 010) setElementData(autob, "aut", true) warpPedIntoVehicle (player, autob) end addEventHandler ("bus", getRootElement(), auto) Debug: Bad argument warpPedIntoVehicle...
  11. Multi

    GRID

    Ok thanks its working
  12. Multi

    GRID

    Can you write for me?
  13. Multi

    GRID

    ye but how to do it, addEventHandler("onCLientGUIClick", what i need put here??
  14. Multi

    GRID

    Can you show me that on Code? because am not understand
  15. Multi

    GRID

    doBusow = guiCreateGridList(425, 313, 400, 209, false) guiGridListAddColumn(doBusow, "Tra", 0.2) guiGridListAddColumn(doBusow, "Wy", 0.2) guiGridListAddColumn(doBusow, "lop", 0.2) guiGridListAddColumn(doBusow, "Do", 0.2) guiGridListAddColumn(doBusow, "Od", 0.2) for i = 1, 2 do guiGridListAddRow(doBusow) end guiGridListSetItemText(doBusow, 0, 1, "1889", false, false) guiGridListSetItemText(doBusow, 0, 2, "1k 1sc", false, false) guiGridListSetItemText(doBusow, 0, 3, "LV", false, false) guiGridListSetItemText(doBusow, 0, 4, "LS", false, false) guiGridListSetItemText(doBusow, 0, 5, "0", false, false) guiSetVisible (doBusow, false) How to do that if I click ROW 1 then i gonna have message on chat "Hello". Sorrz for bad english
  16. Multi

    Diving

    debug nothing ;/ i try server side and client side
  17. Multi

    Diving

    its not working ;//
  18. Multi

    Diving

    Hello. I try to make script that if you dont have a drving licence then you can t enter the vehicle of this ids. policeVehicles = { [598]=true,[596]=true,[597]=true,[599]=true } function enterVehicle ( player, seat, jacked, thePlayer ) kon = getPlayerAccount(thePlayer) if policeVehicles(getElementModel(source) ) then if not getAccountData(kon,"prawko2") == "zajety" ) then cancelEvent() outputChatBox ( "Only if you have a licence car", player ) end end end addEventHandler ( "onVehicleStartEnter", getRootElement(), enterVehicle ) and something is not working can u help me ??
  19. Wielebny thx pododaje, ale moglibyśćie mi dać pełną funkcje że nie da się wejść do auta ??, event mi już podałeś thx ale potrzebuje funkcji że nie możesz wejść do auta.
  20. Witam. Czy mógłby ktoś mi napisać funkcje że jeżeli gracz nie posiada prawka to nie może wejść do auta ??, oczywiśćie ja napisze to że jeżeli masz prawko lub jeżeli nei masz prawka to tylko chce funkcje że nie możesz wejść do auta tylko na rowery...
  21. Multi

    Function

    I know how to do that in button glowdemon1 but i want to know A all Function that takes you about 5 meters if you click button
  22. Multi

    Function

    Welcome. I Looking today for functions that if you click the button that takes you back about 5 meters witch car.
  23. Witam was spowrotem . Szukam dzisiaj Funkcji że jak klikniesz w Button to cofa cię z samochodem o 5 metrów...
  24. nie kopiowałem z nikat sam robiłem.... Możecie zamknac Temat Już Sam Se poradziłem co pomogło??, Forum Angielskie
  25. Multi

    button

    so can someone help me with this ??
×
×
  • Create New...