Gamekiller
Members-
Posts
52 -
Joined
-
Last visited
Gamekiller's Achievements
Snitch (10/54)
0
Reputation
-
Hello guys , I got my server hosted by Colorhosting . But my server MTA:SA 1.1.1 And i like to update it to 1.3.4 How can i do this?
-
Still dont works Am i suppose to change the Marker Showgui 2?
-
function() guiSetVisible (GUIEditor_Window[1],true) showCursor (true) end ) addEvent ("showGUI",true) addEventHandler ("showGUI",getRootElement(), this is the client
-
That wont work:S I tryed that as last and dint work:S
-
Hello, Me and a friend made a little arms dealer job but there is one problem if my friend walk's into the marker the gui dont shows up - Server side marker1 = createMarker (295.239,-37.58,1000.515,"cylinder",1.5,0,0,225,100) marker2 = createMarker (295.48,-80.38,1000.51,"cylinder",1.5,0,0,225,100) marker3 = createMarker (290.28,-109.35,1000.51,"cylinder",1.5,0,0,225,100) setElementFrozen(pedammusf,true) setElementInterior (marker2,4) setElementInterior (marker1,1) setElementInterior (marker3,6) function sellWeapons(pla, cmd) if not getElementData(pla, "sellingArms") then local x, y, z = getElementPosition(pla) local rotz = getPedRotation(pla) local x = x + ( math.cos ( math.rad ( rotz+90 ) ) * 1) local y = y + ( math.sin ( math.rad ( rotz+90 ) ) * 1) local marker = createMarker(x, y, z-1, "cylinder", 1, 255, 128, 0, 170) setElementData(pla, "sellingArms", true) setElementData(marker, "creator", pla) setElementFrozen(pla, true) toggleControl(pla, "forwards", false) toggleControl(pla, "backwards", false) toggleControl(pla, "left", false) toggleControl(pla, "right", false) toggleControl(pla, "enter_exit", false) else for k, v in ipairs(getElementsByType("marker")) do if getElementData(v, "creator") and getElementData(v, "creator") == pla then destroyElement( v ) end removeElementData(pla, "sellingArms") setElementFrozen(pla, false) toggleControl(pla, "forwards", true) toggleControl(pla, "backwards", true) toggleControl(pla, "left", true) toggleControl(pla, "right", true) toggleControl(pla, "enter_exit", true) end end end addCommandHandler("sell", sellWeapons) function (jugador) if (source == marker1) then triggerClientEvent (jugador,"showGUI",getRootElement(),jugador) elseif (source == marker2) then triggerClientEvent (jugador,"showGUI",getRootElement(),jugador) elseif (source == marker3) then triggerClientEvent (jugador,"showGUI",getRootElement(),jugador) if source == marker then triggerClientEvent (jugador,"showGUI",getRootElement(),jugador) end end end ) addEventHandler ("onMarkerHit",getRootElement(), function give45 () giveWeapon (source,22,51,true) end addEvent("give45",true) addEventHandler("give45",getRootElement(),give45) function givesilenced () giveWeapon (source,23,51,true) end addEvent("givesilenced",true) addEventHandler("givesilenced",getRootElement(),givesilenced) function givedeagle () giveWeapon (source,24,21,true) end addEvent("givedeagle",true) addEventHandler("givedeagle",getRootElement(),givedeagle) function givesh () giveWeapon (source,25,50,true) end addEvent("givesh",true) addEventHandler("givesh",getRootElement(),givesh) function giveso () giveWeapon (source,26,25,true) end addEvent("giveso",true) addEventHandler("giveso",getRootElement(),giveso) function giveSP () giveWeapon (source,27,35,true) end addEvent("giveSP",true) addEventHandler("giveSP",getRootElement(),giveSP) function givetec () giveWeapon (source,32,200,true) end addEvent("givetec",true) addEventHandler("givetec",getRootElement(),givetec) function giveuzi () giveWeapon (source,28,200,true) end addEvent("giveuzi",true) addEventHandler("giveuzi",getRootElement(),giveuzi) function givemp5 () giveWeapon (source,29,120,true) end addEvent("givemp5",true) addEventHandler("givemp5",getRootElement(),givemp5) function givem4 () giveWeapon (source,31,200,true) end addEvent("givem4",true) addEventHandler("givem4",getRootElement(),givem4) function giveak () giveWeapon (source,30,120,true) end addEvent("giveak",true) addEventHandler("giveak",getRootElement(),giveak) function givecs () giveWeapon (source,33,40,true) end addEvent("givecs",true) addEventHandler("givecs",getRootElement(),givecs) function gives () giveWeapon (source,34,40,true) end addEvent("gives",true) addEventHandler("gives",getRootElement(),gives) function giveheat () giveWeapon (source,36,10,true) end addEvent("giveheat",true) addEventHandler("giveheat",getRootElement(),giveheat) function giveflame () giveWeapon (source,37,200,true) end addEvent("giveflame",true) addEventHandler("giveflame",getRootElement(),giveflame) function giverpg () giveWeapon (source,35,20,true) end addEvent("giverpg",true) addEventHandler("giverpg",getRootElement(),giverpg) function givemin () giveWeapon (source,38,500,true) end addEvent("givemin",true) addEventHandler("givemin",getRootElement(),givemin) function givenade () giveWeapon (source,16,20,true) end addEvent("givenade",true) addEventHandler("givenade",getRootElement(),givenade) function givesat () giveWeapon (source,40,1,true) giveWeapon (source,39,10,true) end addEvent("givesat",true) addEventHandler("givesat",getRootElement(),givesat) function givecoc () giveWeapon (source,18,20,true) end addEvent("givecoc",true) addEventHandler("givecoc",getRootElement(),givecoc) function givegas () giveWeapon (source,17,10,true) end addEvent("givegas",true) addEventHandler("givegas",getRootElement(),givegas) function givekatana () giveWeapon (source,8,1,true) end addEvent("givekatana",true) addEventHandler("givekatana",getRootElement(),givekatana) function giveknife () giveWeapon (source,4,1,true) end addEvent("giveknife",true) addEventHandler("giveknife",getRootElement(),giveknife) function givemoto () giveWeapon (source,9,1,true) end addEvent("givemoto",true) addEventHandler("givemoto",getRootElement(),givemoto) function givex () giveWeapon (source,42,1000,true) end addEvent("givex",true) addEventHandler("givex",getRootElement(),givex) function givenv () giveWeapon (source,44,1,true) end addEvent("givenv",true) addEventHandler("givenv",getRootElement(),givenv) function showGUI () guiSetVisible (GUIEditor_Window[1],true) showCursor (true) end addEvent ("showGUI",true) addEventHandler ("showGUI",getRootElement(),showGUI)
-
You cant get it , cause the script is scripted by an other server , you can try to script it at your own or look at the community
-
Hello , MTA Players I got one qeustion I have a output for my server but there is a kind of thingy called key*19 i realy like to know how i can change it right cause im trying to bring the text above inplace of 2 tables below and there is no such thing in the server side here is the line it self i know its the Y of the Retangle and the Y of the text but everytime i change it the tezt comes above it and above the other text i tryed key*0 rec = dxDrawRectangle (x/3.5, key*19, 709, 19, tocolor( 0, 0, 0,170)) text = dxDrawText (value, (x/3.5) + 1, key*19, 1197, 25, tocolor(0,224,255,255), 0.5, "bankgothic", "left", "top", false, true)
-
Hello, Since a while i learned a little scripting and i tryed to make more Places to deliver good's for the trucker job but i got one problem It seems always to get the same problem no matther what i try to do the script at it self is a bug already but the problem is alway's unexpect symbol near 'or' Normal Script --Truckerjob function truckerJob ( theTruck ) theTruckVehicle = theTruck theTruckTrailer = source theTruckTrailerID = getElementModel (source) local theDriver = getVehicleOccupant ( theTruck, 0 ) if ( theDriver ) and ( theTruckTrailerID == 584 ) then outputChatBox ("bring the goods to the flag.", theDriver, 255, 0, 0, false) theFinishMarker = createMarker ( -1605.90, -2713.98, 46.53, "cylinder", 16, 0, 255, 0, 90, theDriver ) theFinishBlip = createBlip ( -1605.90, -2713.98, 46.53, 53, 2, 255, 0, 0, 255, 0, 99999.0, theDriver ) end if ( theDriver ) and ( theTruckTrailerID == 435 ) then outputChatBox ("Bring the trailer to the flag.", theDriver, 255, 0, 0, false) theFinishMarker = createMarker ( -480.59, -514.02, 23.51, "cylinder", 16, 0, 255, 0, 90, theDriver ) theFinishBlip = createBlip ( -480.59, -514.02, 23.51, 53, 2, 255, 0, 0, 255, 0, 99999.0, theDriver ) end if ( theDriver ) and ( theTruckTrailerID == 450 ) then outputChatBox ("Bring the trailer to the flag.", theDriver, 255, 0, 0, false) theFinishMarker = createMarker ( -771.58, -119.03, 63.34, "cylinder", 16, 0, 255, 0, 90, theDriver ) theFinishBlip = createBlip ( -771.58, -119.03, 63.34, 53, 2, 255, 0, 0, 255, 0, 99999.0, theDriver ) end if ( theDriver ) and ( theTruckTrailerID == 591 ) then outputChatBox ("Bring the trailer to the flag.", theDriver, 255, 0, 0, false) theFinishMarker = createMarker ( 344.08, 873.30, 18.40, "cylinder", 16, 0, 255, 0, 90, theDriver ) theFinishBlip = createBlip ( 344.08, 873.30, 18.40, 53, 2, 255, 0, 0, 255, 0, 99999.0, theDriver ) end function truckerJobMarkerHit ( hitPlayer, matchingDimension ) theMarkerID = getElementID (theFinishMarker) if (source == theFinishMarker) then givePlayerMoney ( hitPlayer, 35000 ) destroyElement ( theFinishMarker ) destroyElement ( theFinishBlip ) respawnVehicle ( theTruckTrailer ) outputChatBox ( "You have deliverd the goods", hitPlayer, 255, 0, 0, false ) end end addEventHandler ("onMarkerHit", getRootElement(), truckerJobMarkerHit) end addEventHandler("onTrailerAttach", getRootElement(), truckerJob) function truckerJobFailed ( theTruck ) removeEventHandler ("onMarkerHit", getRootElement(), truckerJobMarkerHit) local theDriver = getVehicleOccupant ( theTruck, 0 ) respawnVehicle ( theTruckTrailer ) destroyElement ( theFinishMarker ) destroyElement ( theFinishBlip ) outputChatBox ( "Mission Failed!", theDriver, 255, 0, 0, false ) end addEventHandler("onTrailerDetach", getRootElement(), truckerJobFailed) Edited script --Truckerjob function truckerJobMarkerHit ( hitPlayer, matchingDimension ) theMarkerID = getElementID (theFinishMarker or theFinishMarker2 or theFinishMarker3 or theFinishMarker4 ) if (theFinishMarker or theFinishMarker2 or theFinishMarker3 or theFinishMarker4 ) then givePlayerMoney ( hitPlayer, 5000 ) destroyElement ( theFinishMarker or theFinishMarker2 or theFinishMarker3 or theFinishMarker4 ) destroyElement ( theFinishBlip or theFinishBlip2 or theFinishBlip3 or theFinishBlip4 ) respawnVehicle ( theTruckTrailer ) outputChatBox ( "You have Deliverd the goods here is $5.000,-", hitPlayer, 255, 0, 0, false ) end end addEventHandler ("onMarkerHit", getRootElement(), truckerJobMarkerHit) function truckerJob ( theTruck ) theTruckVehicle = theTruck theTruckTrailer = source theTruckTrailerID = getElementModel (source) local theDriver = getVehicleOccupant ( theTruck, 0 ) if ( theDriver ) and ( theTruckTrailerID == 584 ) then outputChatBox ("Bring the goods to the Flag in the Mini-map", theDriver, 255, 0, 0, false) theFinishMarker = createMarker ( -1605.90, -2713.98, 46.53, "cylinder", 16, 0, 255, 0, 90, theDriver ) or theFinishMarker2 = createMarker ( -480.59, -514.02, 23.51, "cylinder", 16, 0, 255, 0, 90, theDriver ) or theFinishMarker3 = createMarker ( -771.58, -119.03, 63.34, "cylinder", 16, 0, 255, 0, 90, theDriver ) or theFinishMarker4 = createMarker ( 344.08, 873.30, 18.40, "cylinder", 16, 0, 255, 0, 90, theDriver ) theFinishBlip = createBlip ( -1605.90, -2713.98, 46.53, 53, 2, 255, 0, 0, 255, 0, 99999.0, theDriver ) or theFinishBlip2 = createBlip ( -480.59, -514.02, 23.51, 53, 2, 255, 0, 0, 255, 0, 99999.0, theDriver ) or theFinishBlip3 = createBlip ( -771.58, -119.03, 63.34, 53, 2, 255, 0, 0, 255, 0, 99999.0, theDriver ) or theFinishBlip4 = createBlip ( 344.08, 873.30, 18.40, 53, 2, 255, 0, 0, 255, 0, 99999.0, theDriver ) end end addEventHandler("onTrailerAttach", getRootElement(), truckerJob) function truckerJobFailed ( theTruck ) removeEventHandler ("onMarkerHit", getRootElement(), truckerJobMarkerHit) local theDriver = getVehicleOccupant ( theTruck, 0 ) respawnVehicle ( theTruckTrailer ) destroyElement ( theFinishMarker ) destroyElement ( theFinishBlip ) outputChatBox ( "You Failed to deliver the goods!", theDriver, 255, 0, 0, false ) end addEventHandler("onTrailerDetach", getRootElement(), truckerJobFailed) I've tryed many things to fix it, but it dint realy work, if you can help me i would be happy , Regards Jordy
-
Today i have made my own interior for my group i added the positions in interions.map but it dont shows the marker at the place i need to enter --- This are the Interior positions added into the interiors.map --- <interiorEntry id="SOA" posX="739.11" posY="-1258.5" posZ="2002.5" rotation="0" dimension="0" interior="0" /> <interiorReturn refid="SOA" posX="764.5" posY="-12.77" posZ="999.75" rotation="0" interior="0" dimension="0" /> I've anye one know's what i did wrong please tell me,
-
You mean the scripts that admin can fly our what?. if not what can the script do?
-
A few day's ago some one joined the game Called Blazy and started flooding the server
-
Hmm your the guy that's flooding server's ( Dossing ) Why if i may ask?
-
Ok that's not how you Play it.... or even make it work you are right but there are more things then only doing that. you should install Xamp 1.7.4 After that go to this topic viewtopic.php?f=148&t=42067 and because i think you are new i would like you to read this to https://wiki.multitheftauto.com/wiki/Server_Manual and if you want to learn scripting here's a little help how you should learn it https://wiki.multitheftauto.com/wiki/Scr ... troduction
-
Hmm... 404 Error can some one please add a new mirror... ( New download link )