Jump to content

RangeR..

Members
  • Posts

    115
  • Joined

  • Last visited

About RangeR..

  • Birthday 30/06/1999

Details

  • Gang
    UPG
  • Location
    Lahore, Pakistan
  • Occupation
    Studying

Recent Profile Visitors

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

RangeR..'s Achievements

Sucka

Sucka (13/54)

4

Reputation

  1. local myMarker = createMarker(-1828.77515, 18.73340, 16.59393, 'arrow', 2.0, 255, 0, 0, 150) function craftenter() setElementInterior ( myMarker, 3) end addEventHandler("onMarkerHit", myMarker, craftenter) Hello, I've been trying to make this simple script but when I try to enter the marker, the marker disappears. Someone help me please.
  2. We tried it but it didn't work. local sql = dbConnect( "mysql", "dbname=mydbname;host=127.0.0.1;unix_socket=/var/run/mysqld/mysqld.sock", "my.username", "my password") unix_socket=/var/run/mysqld/mysqld.sock there is no such file
  3. You can contact the website owner if it doesn't work
  4. There is a German sponsoring website providing low slots free server. https://gameserver-sponsor.de
  5. Try removing the function you used for the marker.
  6. Oh, so you guys started this... Anyways, good luck.
  7. Hi guys, I couldn't decide where to post this problem, I decided to post it here. My server was suffering from a problem since tomorrow, I did many efforts to fix the problem but I could not fix it. I mistakenly gave admin rights to a traitor and he deleted something else from the server and its bugged. New players can't register, admin and even console can't use "refresh" command, it says "ACL: Access Denied"(I ALREADY ADDED "command.refresh" IN BOTH OF THE ACL'S BUT STILL IT ISN'T FIXED). Admins can't do /addaccount as well(I ALREADY ADDED "resource.admin" to ACL BUT STILL THIS BUG DIDN'T FIX IT SAYS "Access denied". Somebody please help me.
  8. Hi guys, i was trying to make a gui script but showCursor gui is not working. Client.lua local x, y = guiGetScreenSize() local cX, cY = (x / 2) - (348 / 2), (y / 2) - (356 / 2) spawnscreen = guiCreateWindow(514, 104, 286, 391, "Spawn Panel", false) guiWindowSetSizable(spawnscreen, false) guiSetProperty(spawnscreen, "CaptionColour", "FF00FF00") gridlist1 = guiCreateGridList(9, 22, 115, 110, false, spawnscreen) guiGridListAddColumn(gridlist1, "CLASSES", 0.9) gridlist2 = guiCreateGridList(9, 142, 115, 235, false, spawnscreen) guiGridListAddColumn(gridlist2, "TEAMS", 0.9) spawnmemo[1] = guiCreateMemo(132, 22, 144, 110, "", false, spawnscreen) spawnstaticimage[1] = guiCreateStaticImage(133, 143, 143, 169, "mtalogo.png", false, spawnscreen) spawnbutton[1] = guiCreateButton(134, 317, 142, 60, "SPAWN", false, spawnscreen) guiSetProperty(spawnbutton[1], "NormalTextColour", "FF00FF00") guiSetVisible(spawnscreen, false) function showLogin() guiSetVisible(login_wnd, true) showCursor(true) toggleControl("chatbox", false) fadeCamera(false) end addEvent("showgui", true) addEventHandler("showgui", root, showLogin) Server.lua function work() triggerClientEvent(source, "showgui", source) end addEventHandler("onPlayerJoin", root, work)
  9. Hi there, I've made an ammunition script and i am having the following problems with it 1. When the resource starts or when i reconnect, the ammu-nation screen appears 2. I've added Jetpack in it which gives jetpack but i am confused that how will a script bind "removePlayerJetpack" when he presses "j" and how can i make it that if I've bought it already, i'll be able to remove it and get it again and again by pressing "j" until disconnect. so what will be the command, please help Here are the required fields for my problem client.lua GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(84, 10, 631, 553, "Zombie Apocalypse ~ Armas", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF00FF00") GUIEditor.button[20] = guiCreateButton(468, 420, 140, 87, "Comprar Jetpack (Until Disconnect) \n $100000", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[20], "default-bold-small") guiSetProperty(GUIEditor.button[20], "NormalTextColour", "FF00FF00") end ) bindKey ( "F1", "down", function ( ) local state = ( not guiGetVisible ( GUIEditor.window[1] ) ) guiSetVisible ( GUIEditor.window[1], state ) showCursor ( state ) end ) function onGuiClick () if (source == GUIEditor.button[20]) then triggerServerEvent ("Jetpack", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) server.lua function Jetpack() if getPlayerMoney(source) >= 100000 then takePlayerMoney(source, 100000) givePedJetPack(source) outputChatBox("Usted ha comprado Jetpack $100000", source, 0, 255, 0) else outputChatBox("No tienes suficiente dinero para comprar este artículo", source, 255, 0, 0) end end addEvent("Jetpack", true) addEventHandler("Jetpack", getRootElement(), Jetpack)
  10. give me a free server my skype : fahadazeem5 i need control panel access too
  11. Hi guys, here is my new MTA SA server DM for pakistanis Please join. mtasa://144.76.58.20:22060 CLICK HERE TO JOIN SERVER
  12. Yahan aap tamam posts kar skte hain jo scripting ke related hon aur new topic na banana pray kyunke es say boht spamming ho rhi thi. Agar aap ko scripting mai kisi bhi tarah ki help chahiye to yhan post krain, aap ki madad zaroor ki jaye gi.
×
×
  • Create New...