Jump to content

golanu21

Members
  • Posts

    650
  • Joined

  • Last visited

Everything posted by golanu21

  1. golanu21

    minigames

    how i make that : when i type a command , to start a minigame..., i need the lua commands
  2. We don't offer suport for leaked scripts...or gamemodes.
  3. you are put the create blip and destroy blip in same event
  4. how i make account-system on valhalla to register in game ?
  5. Error: MySQL shutdown unexpectedly. 22:08:37 [mysql] This may be due to a blocked port, missing dependencies, 22:08:37 [mysql] improper privileges, a crash, or a shutdown by another method. 22:08:37 [mysql] Check the "/xampp/mysql/data/mysql_error.log" file 22:08:37 [mysql] and the Windows Event Viewer for more clues 22:09:43 [mysql] Attempting to start MySQL service...
  6. Error: MySQL shutdown unexpectedly. 22:08:37 [mysql] This may be due to a blocked port, missing dependencies, 22:08:37 [mysql] improper privileges, a crash, or a shutdown by another method. 22:08:37 [mysql] Check the "/xampp/mysql/data/mysql_error.log" file 22:08:37 [mysql] and the Windows Event Viewer for more clues 22:09:43 [mysql] Attempting to start MySQL service...
  7. someone ?
  8. i have a problem when i want to start MySqL in xampp:| this is the error ERROR: MySql service not started [-1]
  9. clientside GUIEditor = { memo = {}, button = {}, window = {}, radiobutton = {}, tab = {}, label = {}, tabpanel = {}, } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(684, 215, 491, 334, "CFR - Sofer De Tren", false) guiSetVisible ( GUIEditor.window[1], false ) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.75) GUIEditor.button[1] = guiCreateButton(52, 169, 136, 65, "Angajeaza-te", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") GUIEditor.button[2] = guiCreateButton(299, 169, 136, 65, "Demisioneaza", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") GUIEditor.button[3] = guiCreateButton(299, 259, 136, 65, "Închide", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") GUIEditor.memo[1] = guiCreateMemo(206, 180, 76, 85, "", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(252, 119, 70, 54, "", false, GUIEditor.window[1]) GUIEditor.memo[2] = guiCreateMemo(46, 35, 393, 124, " Bun venit la gara CFR!\nCautamt conductori de locomotiva, tot ce trebuie sa faci este sa conduci trenul si sa iei pasageri. Ia o colomotiva, o poti gasii pe sine, si incepeti slujba.\n\n Mult Succes!", false, GUIEditor.window[1]) guiMemoSetReadOnly(GUIEditor.memo[2], true) GUIEditor.tabpanel[1] = guiCreateTabPanel(178, 196, 60, 57, false, GUIEditor.memo[2]) GUIEditor.tab[1] = guiCreateTab("Tab", GUIEditor.tabpanel[1]) GUIEditor.radiobutton[1] = guiCreateRadioButton(191, 271, 75, 44, "", false, GUIEditor.window[1]) guiRadioButtonSetSelected(GUIEditor.radiobutton[1], true) end ) local jobMarker = createMarker (1942.57, 2184.79, 9.82, "cylinder", 1, 255, 0, 0, 127) addEventHandler ("onMarkerHit", jobMarker, function (hitPlayer) if (getElementType(hitPlayer) == "player") then outputChatBox ("Bun venit la gara Romana CFR.", hitPlayer, 255, 0, 0) guiSetVisible ( GUIEditor.window[1], true ) howCursor ( true ) end end ) addEventHandler("onClientGUIClick", root, function() if ( source == GUIEditor.button[3] ) then guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end ) addEventHandler("onClientGUIClick",GUIEditor.button[1], function () triggerServerEvent("onAskToSetTeamAndSkin",localPlayer); end ); serverside local jobMarker = createMarker (1942.57, 2184.79, 9.82, "cylinder", 1, 255, 0, 0, 127) local team = createTeam ( "Conductori de Locomotiva",255,255,0 ); addEvent("onAskToSetTeamAndSkin",true); addEventHandler("onAskToSetTeamAndSkin",root, function () spawnPlayer(source,-1937.09765625, 161.8310546875, 26.273441314697,0,61,0,0,team); end );
  10. why you put the addEventHandler ("onMarkerHit", jobMarker, function (hitPlayer) if (getElementType(hitPlayer) == "player") then triggerClientEvent ("viewGUI",source) outputChatBox ("Bun venit la gara Romana CFR.", hitPlayer, 255, 0, 0) end end ) in the serverside,, put it in the clientside , and you wil be discard the triggerClientEvent
  11. exports.teams:setTeam(source, teamname) ??? i make that for example... and now how i import ??
  12. yeas
  13. how i export a script?? For example : i have a script in folder "cars", and i want to export a team from script ( folder "teams" ).. how i make that ?
  14. golanu21

    help

    thanx man
  15. golanu21

    help

    \server.lua:17: Bad argument @ 'setPlayerTeam' serverside addEvent("swat", true) function swatteam (player) setPlayerTeam(player, swat) end addEventHandler("swat", getRootElement(), swatteam) clientside addEventHandler("onClientGUIClick", swatButton, function () player = getLocalPlayer() setElementPosition(player, 2334.06152, 2385.27588, 10.82031) setElementModel(player, math.random(280, 285)) triggerServerEvent("swat", getRootElement()) guiSetVisible(fereastra, false) showCursor(false) end)
  16. golanu21

    i can ?

    ok, thanx
  17. golanu21

    i can ?

    i can make setElementData in server side for client side ???
  18. golanu21

    help

    thanx
  19. golanu21

    help

    oh, thanx man
  20. golanu21

    help

    server side addEventHandler("onPlayerJoin", getRootElement(), function () triggerClientEvent("showgui", source) end) client side --gui fereastra = guiCreateWindow(270, 120, 1389, 854, "Alegeti Echipa", false) guiWindowSetSizable(fereastra, false) swatButton = guiCreateButton(21, 86, 1338, 255, "Fortele-Speciale", false, fereastra) guiSetFont(swatButton, "sa-gothic") guiSetProperty(swatButton, "NormalTextColour", "FF1901FD") ballasButton = guiCreateButton(19, 344, 1341, 250, "Ballas", false, fereastra) guiSetFont(ballasButton, "sa-gothic") guiSetProperty(ballasButton, "NormalTextColour", "FFFE0000") armyButton = guiCreateButton(20, 597, 1346, 248, "Armata", false, fereastra) guiSetFont(armyButton, "sa-gothic") guiSetProperty(armyButton, "NormalTextColour", "FF17FE00") guiSetVisible(fereastra, false) --script addEvent("showgui", true) function showgui () guiSetVisible(fereastra, true) showCursor(fereastra, true) end addEventHandler("showgui", getRootElement(), showgui) ERORR: the tiggered clientside event showgui, but event is not added clientside
  21. thanx man ...
  22. how i make that ? : when a person (player1) has ben killed by a attaker (player2) attaker to recive WantedLevel math.random (3,5)
  23. this is man.. hitElement forgotten, thanx man
  24. and i have .. a downloaded script from communtity with gui... and this is resulted
×
×
  • Create New...