-
Posts
1,491 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Walid
-
You can't.
-
sorry i don't undrestand ur english
-
Here add "end" and close the event handler ")" -- هنا addEventHandler("onClientGUIClick", GUIEditor.button[1], function() if isTimer(timer) then mSeconds,_,__ = getTimerDetails(timer) total = mSeconds / 60 / 1000 outputChatBox("You need to wait "..math.ceil(total).." minutes",255, 159, 0) return end timer = setTimer(function() end,5 * 1000 * 60,1) local row, col = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) if row and col and row ~= -1 and col ~= -1 then local data = guiGridListGetItemData(GUIEditor.gridlist[1], row, 1) local time = guiGridListGetItemText(GUIEditor.gridlist[1], row, 2) triggerServerEvent('GiveAdmin',localPlayer,data,time) -- ,و هنا ربطت بالسيرفر end end )
-
You are welcome.
-
Try this one local TimeTable = {} local waitTime = 3000 -- 3 seconds local Markers = { {411, 2015, 1543.4, 10.5, 5000}, -- Marker 1 {411, 2020, 1543.4, 10.5, 5000}, -- Marker 2 } for i , v in pairs (Markers) do HitMarker = createMarker ( v[2], v[3], v[4], "corona", 2, 255, 0, 0, 255 ) setElementData ( HitMarker, "model", v[1] ) setElementData ( HitMarker, "cash", v[5] ) end function allowedVehicles( hitElement, matchingDimension ) if matchingDimension and isElement(hitElement) and getElementType(hitElement) == "player" then if isPedInVehicle ( hitElement ) then local vehicle = getPedOccupiedVehicle ( hitElement ) if vehicle then if getElementModel ( vehicle ) == getElementData ( source, "model" ) then TimeTable[hitElement] = setTimer(StuntComplete, waitTime, 1, hitElement,source) setElementData ( hitElement, "entered.marker", true ) end end end end end addEventHandler( "onMarkerHit", resourceRoot, allowedVehicles ) function StuntComplete ( player,marker) if isElement ( player ) then if getElementData ( player, "entered.marker" ) then givePlayerMoney ( player, tonumber(getElementData (marker, "cash"))) setMarkerColor ( marker, 0, 255, 0, 255 ) outputChatBox ( "You completed the Stunt", hitElement, 0, 255, 0 ) end end end addEventHandler ( "onMarkerLeave", resourceRoot, function ( leaveElement ) if ( isElement ( leaveElement ) and getElementType ( leaveElement ) == "player" ) then if isTimer ( waitTime ) then killTimer ( waitTime ) setElementData ( leaveElement, "entered.marker", false ) outputChatBox("You failed the Stunt!", player, 255, 0, 0) end end end )
-
local serial = "" -- ضع السريال هتا -- السيارة ما تنفجر addEventHandler("onClientVehicleDamage", root, function () local thePlayer = getVehicleController ( source ) if (thePlayer) then if ( getPlayerSerial(thePlayer) == serial ) then cancelEvent () end end end ) -- كيف اخليها لما تنقلب ما تنفجر function check() for k,v in ipairs ( getElementsByType("player") ) do if ( getPlayerSerial(v) == serial ) then local vehicle = getPedOccupiedVehicle(v) if vehicle then local rX, rY, rZ = getElementRotation(vehicle) if rZ > 1 then setElementRotation(vehicle, 0, 0, rZ ) end end end end end setTimer(check,1000,0)
-
here you go -- كل الأسلحة addEventHandler ( "onResourceStart", root, function ( ) weaponList = { "colt 45", "silenced", "deagle", "shotgun", "sawed-off", "combat shotgun", "uzi", "mp5", "ak-47", "m4", "tec-9", "rifle", "sniper", "minigun" } for _,weapon in ipairs( weaponList ) do for _,skill in ipairs( { "poor", "std", "pro" } ) do setWeaponProperty( weapon, skill,"damage", 70) -- ضع هنا القوة end end end )
-
this is how you can change it addEventHandler ( "onResourceStart", root, function ( ) for _,weaponSkill in ipairs({"poor","std","pro"}) do setWeaponProperty("m4", weaponSkill, "damage", 70) -- ضع هنا القوة end end )
-
Try this one function carshoot2() if bindTrigger2 == 1 then if not isPedDead(cLP) then local vehicle = getPedOccupiedVehicle(localPlayer) if(vehicle) then bindTrigger2 = 0 local x,y,z = getElementPosition(vehicle) local rx,ry,rz = getElementRotation(vehicle) createProjectile(vehicle, 19, x+1, y+1, z, 1.0, nil,rx,ry,rz) setTimer(allowShoots,4000, 1) end end end end
-
My bad i didn't see this "Getting error 405, which means" Mr. einstein.
-
Bro did you create the call back function.
-
You mean internet radio sth like that.
-
hhh really ??? bro i know who you are , listen to me i create every thing in your server along time ago and i know my work more than that if you want i can gave every one here a code can access your admin panel which make him able to use every thing (debugscript , ban , kick all of them). even he can ban you from your server. Here is the conclusion try to create something by yourself it's an advice. good luck.
-
as i told you i recommend VPS Cloud 1.
-
i mean 4 models VPS Cloud 1,VPS Cloud 2,VPS Cloud 3,VPS Cloud 4 as far as i know kimsufi company is working with OVH
-
function removeHEXFromString(str) return str:gsub("#%x%x%x%x%x%x", "") end
-
He mean this dxscoreboard_clientsettings.lua
-
if you are willing to pay i recommend you to use VPS Cloud Alright, I'm just concerned because it has 2 GB less RAM. there is 4 types : * VC 1 * VC 2 * VC 3 * VC 4 from 2 Go to 16 Go.
-
if you are willing to pay i recommend you to use VPS Cloud
-
depending on how much u can pay
-
^ as you said it's only your thoughts . i already tried both , there is no big difference.
-
i think it's server side Thank you for helping man, I fixed the thing it was in survivorSystem i changed setPedAnimation from nil to -1 it worked You are welcome
-
the problem because you are running a whole server with leacked script's i'm pretty sure that you don't know your script's functions.
-
i think it's server side
