-
Posts
1,423 -
Joined
-
Last visited
-
Days Won
19
Everything posted by Tekken
-
No problem, Use this to destroy a car, do not use 'P' for Spawning or Destroying a car ! function DestroyVehicle(thePlayer) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("Admin")) then if isPedInVehicle(thePlayer) then local col = getElementData(getPedOccupiedVehicle(thePlayer), "parent") destroyElement(col) destroyElement(getPedOccupiedVehicle(thePlayer)) else outputChatBox("You must be in a vehicle!", thePlayer, 255, 0, 0) end end end addCommandHandler("destroy", DestroyVehicle)
-
You know that your link sends the person who clicks it will be send to her/his own page? And also mobile version...
-
Yow can use this for deleting all cars and also coolshape : function dAllC(thePlayer) accountname = getAccountName(getPlayerAccount(thePlayer)) if isObjectInACLGroup("user." .. accountname, aclGetGroup("Admin")) then vehicles = getElementsByType("vehicle") for i,v in ipairs(vehicles) do destroyElement(getElementData(v, "parent")) destroyElement(v) outputChatBox("Cars have been deleted !",thePlayer, 255, 0, 0, false) end end end addCommandHandler("dallvehs", dAllC)
-
Give us mutch details about wath you want to script !
-
Mi-a dat explicatia patetica 'cu numele asta s-au obisnuit playerii'. Gandire de neandertal, daca maine se inchide CIT si eu fac altu, o sa se cheme tot CIT, ca de', asa s-au obisnuit oamenii. Specie involuata de om. Mai vad ca e si frustrat pe Facebook, umbla cu citate de femeie si se crede barbat. Imi pare rau pt tine, ai muncit mult sa iti faci un nume in MTA. Cat despre resurse daca tot vrei sa le pui pe comunitata punele pe bani,nu pentru ca eu am plarit(eu mi-am scos bani pe ele ) ci pentru ca o sa iti bati joc de munca ta, credema... Atat am avut de spus.
-
Owner-ul 'RomaniaZ', este TER|V@l! ....(nu a auzit de forum.multitheftauto.com).
-
This script should save VIP status onPlayerQuit but it didn't work. function kitvip ( thePlayer ) local accName = getAccountName ( getPlayerAccount (thePlayer) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then local VIPi = getElementData(thePlayer, "vip") or 0 if VIPi == 0 then setElementData(thePlayer, "Map", 1) outputChatBox("VIP: Iteme VIP selectate!", thePlayer, 0, 255, 0, false) outputServerLog("VipCmd: VIP-ul"..getPlayerName(thePlayer).."si-a setat itemele !") else outputChatBox("VIP: Poti folosi aceasta comanda o singura data pe viata !", thePlayer, 255, 0, 0, false) end end end addCommandHandler("vip",kitvip, false) function rmvvip() setElementData(source, "vip", 0) end addEventHandler("onPlayerWasted", getRootElement(), rmvvip) function rmvVIP(thePlayer) local playerAccount = getPlayerAccount(thePlayer) if (playerAccount) then local VIPb = getElementData(thePlayer, "vip") or 0 setAccountData( playerAccount, "vip", VIPs ) end end addEventHandler("onPlayerQuit", getRootElement(), rmvVIP) function amvVIP(thePlayer) local playerAccount = getPlayerAccount(thePlayer) if (playerAccount) then local VIPb = getAccountData(playerAccount, "vip") setElementData( thePlayer, "vip", VIPs ) end end addEventHandler("onPlayerLogin", getRootElement(), amvVIP)
-
Why not ? because this script is easy to create and not something original or unique but you're free and good luck with it , also give us some screenshots to see its quality and to know if it deserves to be sold . I made a short video:
-
Why not ? Edit: No more for selling!
-
MTA: DayZ Backup System v1.7 Automatically save vehicles & tents. Commands: What does it save ?: Video vehicle backup. Video tents backup. Note: The resources must be in a folder not in *.zip file, otherwise it will not work properly! Note: The resource doesn't work with this and this versions of MTA:DayZ ! Note: When you start the resource type: /togbk to start/stop automatic backup! Note: The resource don't load vehicles/tents automatically! DOWNLOAD Changelog:
-
local marker1 = createMarker ( 2507.2998046875, 1603, 9.6000003814697, 'cylinder', 6, 0, 255, 0, 0) local gate1 = createObject ( 16775, 2507.400390625, 1602.7001953125, 13.7) function movingObject ( hitElement, matchingDimension ) local gPT = getPlayerTeam ( hitElement ) local gTN = ( gPT and getTeamName ( gPT ) or "" ) if gTN =="LV" then if getElementType ( hitElement ) == "player" then moveObject ( gate1, 3000, 2507.3999023438, 1602.6999511719, 5.7 ) end end end function moveObjectBack (hitElement, matchingDimension) local gPT = getPlayerTeam ( hitElement ) local gTN = ( gPT and getTeamName ( gPT ) or "" ) if gTN =="LV" then if getElementType ( hitElement ) == "player" then moveObject ( gate1, 3000, 2507.400390625, 1602.7001953125, 13.7 ) end end end addEventHandler ( "onMarkerHit", marker1 , movingObject ) addEventHandler ( "onMarkerLeave", marker1, moveObjectBack ) local marker2 = createMarker ( 2567.3000488281, 1483.6999511719, 9.6000003814697, 'cylinder', 6, 0, 255, 0, 0) local gate2 = createObject ( 16775, 2567.1005859375, 1484.099609375, 13.7) function movingObject2 ( hitElement, matchingDimension ) local gPT = getPlayerTeam ( hitElement ) local gTN = ( gPT and getTeamName ( gPT ) or "" ) if gTN =="LV" then if getElementType ( hitElement ) == "player" then moveObject ( gate2, 3000, 2567.1005859375, 1484.099609375, 5.7 ) end end end function moveObjectBack2 (hitElement, matchingDimension) local gPT = getPlayerTeam ( hitElement ) local gTN = ( gPT and getTeamName ( gPT ) or "" ) if gTN =="LV" then if getElementType ( hitElement ) == "player" then moveObject ( gate2, 3000, 2567.1005859375, 1484.099609375, 13.7 ) end end end addEventHandler ( "onMarkerHit", marker2 , movingObject2 ) addEventHandler ( "onMarkerLeave", marker2, moveObjectBack2 ) function moveObjectBack3 (leaveElement, matchingDimension) local gPT = getPlayerTeam ( leaveElement ) local gTN = ( gPT and getTeamName ( gPT ) or "" ) if gTN =="LV" then if getElementType ( leaveElement ) == "player" then moveObject ( gate1, 3000, 2507.400390625, 1602.7001953125, 13.7 ) end end end addEventHandler ("onPlayerQuit", marker1, --Here you forgot to put the quote function () moveObject ( gate1, 3000, 2507.400390625, 1602.7001953125, 13.7 ) end )
-
Look this must work : Client.lua thePed = createPed (155,-1720.0400390625, 1356.6455078125, 7.1875, 121.70565795898 ) GUIEditor = { button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(308, 173, 399, 425, "Pizza Job", false) guiWindowSetMovable(GUIEditor.window[1], false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1], false) --I seted as invisible * GUIEditor.label[1] = guiCreateLabel(14, 31, 365, 63, " Well Stacked Pizza Co.", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "sa-header") guiLabelSetColor(GUIEditor.label[1], 255, 255, 2) GUIEditor.label[2] = guiCreateLabel(44, 111, 320, 124, " Welcome to the Well Stacked Pizza Co.\n You can employ now as a pizzaboy!\n As a pizzaboy you have to deliver pizza's\n throughout the town.\n You will get money for that.\n\n For help type /pizzahelp", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "clear-normal") GUIEditor.button[1] = guiCreateButton(96, 247, 215, 42, "Accept Job", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "C8FFFF00") GUIEditor.button[2] = guiCreateButton(118, 307, 164, 36, "Leave Job", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "sa-header") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "C8FD0802") GUIEditor.button[3] = guiCreateButton(122, 368, 150, 32, "Close", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "sa-header") end ) function Window() guiSetVisible(gun.window[1], true) showCursor(true) end addEvent("openWindow",true) addEventHandler("openWindow", getRootElement(), Window) Server.lua pizzaguy = createMarker (-1721.0263671875, 1355.9541015625, 6.1805019378662, "cylinder", 1.25, 0,255,0,180 ) function MarkerHit(hitPlayer) triggerClientEvent (hitPlayer,"openWindow",getRootElement(),hitPlayer) end addEventHandler("onMarkerHit", pizzaguy, MarkerHit) createBlip ( -1723.74, 1359.68, 6.18, 29, 2, 0, 0, 0, 255, 0, 200 ) function help () outputChatBox("Pizza : In the pizza job you as a pizzaboy have to deliver pizzas to locations and you get money by delivering the package.") end addCommandHandler("pizzahelp",help)
-
Server function MarkerHit(hitPlayer) triggerClientEvent (hitPlayer,"openWindow",getRootElement(),hitPlayer) end addEventHandler("onMarkerHit", pizzaguy, MarkerHit) Client function Window() guiSetVisible(gun.window[1], true) showCursor(true) end addEvent("openWindow",true) addEventHandler("openWindow", getRootElement(), Window)
-
Wait wath ? You created a function within a function Look: Client.lua thePed = createPed (155,-1720.0400390625, 1356.6455078125, 7.1875, 121.70565795898 ) GUIEditor = { button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(308, 173, 399, 425, "Pizza Job", false) guiWindowSetMovable(GUIEditor.window[1], false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1], false) --I seted as invisible * GUIEditor.label[1] = guiCreateLabel(14, 31, 365, 63, " Well Stacked Pizza Co.", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "sa-header") guiLabelSetColor(GUIEditor.label[1], 255, 255, 2) GUIEditor.label[2] = guiCreateLabel(44, 111, 320, 124, " Welcome to the Well Stacked Pizza Co.\n You can employ now as a pizzaboy!\n As a pizzaboy you have to deliver pizza's\n throughout the town.\n You will get money for that.\n\n For help type /pizzahelp", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "clear-normal") GUIEditor.button[1] = guiCreateButton(96, 247, 215, 42, "Accept Job", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "C8FFFF00") GUIEditor.button[2] = guiCreateButton(118, 307, 164, 36, "Leave Job", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "sa-header") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "C8FD0802") GUIEditor.button[3] = guiCreateButton(122, 368, 150, 32, "Close", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "sa-header") guiSetVisible ( GUIEditor.window[1], false) end ) pizzaguy = createMarker (-1721.0263671875, 1355.9541015625, 6.1805019378662, "cylinder", 1.25, 0,255,0,180 ) function MarkerHit(thePlayer, matchingDimension) if isElementWithinMarker(thePlayer,pizzaguy) then guiSetVisible ( GUIEditor.window[1], true) else outputChatBox("Error") end end addEventHandler( "onClientMarkerHit", getRootElement(),MarkerHit) And for creating a ped use this : ped = createPed ( ID , x, y, z, rot, true) pedCol = createColSphere ( x, y, z, radius) attachElements(pedCol, ped) createBlipAttachedTo(ped, BlipID) --Add an blip
-
Si mai exact cum vrei tu sa distrugi serverele copiate/nefolositoare ? Sunt foarte curios.... PS: Ce vrei tu suna bine, da n-o sa se intample... Oricum mult noroc.
-
send an skype : mihayy51
-
I used the legal compiled version which was available for download here itself. 100% legal. But no source code. use /svp for spawning the cars Progress is autosaving but if you hust it from your pc you should close it by "Ctrl + C" or type "shutdown" if this isn't working are you sure you put the internal.db givet in arhive ?
-
You use the legit MTA:DayZ Gamemode ? or you use an "Pirate" decompiled version ?
-
function message (thePlayer) outputChatBox("Message!", thePlayer, 255, 255, 255, false) end
-
RPP|Gaming** Greetings.
-
RPP|Romania Free Roam Greetings
-
Tare server-ul, O intrebare : Dece cand intru pe rpp-gaming.net ma trimite la un Shop de haine ? O_0
-
Talk with -ffs-Sniper, he is the owner (but remembet you will need to pay for it)
-
survivorSystem_client.lua But as #TrapLord says DayZ script is compiled so good luck.