
abod99119911
Members-
Posts
74 -
Joined
-
Last visited
Everything posted by abod99119911
-
so now the player wont get wanted? in LV
-
very very good i was like AWESOME keep it up i like it
-
i think he mean that gun (anti rush)
-
hi guyz. this is script which is to make marker and when player get in the will get full health and armor but i want to add gun:M4 with ammo local team = createTeam ( "TeamName", 0, 255, 0 ) local theMarker = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler("onMarkerHit", theMarker, function (thePlayer) if ( getElementType ( thePlayer ) == 'player' ) then if ( getPlayerTeam ( thePlayer ) and getTeamName ( getPlayerTeam ( thePlayer ) ) == 'TeamName' ) then setElementHealth ( thePlayer, 100 ) setPedArmor ( thePlayer, 100 ) end end end ) and here i can add the X, Y, Z for where the marker will be ? local theMarker = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 )
-
so waht i will do with that ? and for what is that command?
-
thx verry much i would like to thank u verry verry much 100% work thank you
-
السلام عليكم انشالله طيبين و ندخل بل موضوع اليوم طلبت سكربت و جاني السيكربت و السكرب عباره عن موود لما تسوي ميوت للاعب يطلع كتابه فوق راس الاعب مكتوب [muted] مثال و الجماعه ما قصرو و جابولي السكربت client side-- function testing() local px, py, pz, tx, ty, tz, dist px, py, pz = getCameraMatrix( ) for _, v in ipairs( getElementsByType 'player' ) do tx, ty, tz = getElementPosition( v ) dist = math.sqrt( ( px - tx ) ^ 2 + ( py - ty ) ^ 2 + ( pz - tz ) ^ 2 ) if dist < 32.0 then if isLineOfSightClear( px, py, pz, tx, ty, tz, true, false, false, true, false, false, false,localPlayer ) then local sx, sy, sz = getPedBonePosition( v, 5 ) local x,y = getScreenFromWorldPosition( sx, sy, sz + 0.30 ) local x1,y1 = getScreenFromWorldPosition( sx, sy, sz + 0.35 ) local r,g,b = getPlayerNametagColor(localPlayer) scale = 0.65 if x then if getElementData(v,"playermuted") == 1 then dxDrawText( "Muted", x, y, x, y, tocolor(r, g, b), scale + ( 15 - dist ) * 0.02, "bankgothic" ) end end end end end end addEventHandler("onClientRender",root,testing) server side--- function isMuted() setElementData(source,"playermuted",1) end addEventHandler("onPlayerMute",root,isMuted) function isNotMuted() setElementData(source,"playermuted",0) end addEventHandler("onPlayerUnmute",root,isNotMuted) المشكله هيا 1.الاميون ما يختفي لما يخلص الوقت و بس و اذا تطلبون ال ميتا meta.mxl
-
not working. i started the resores and i give mute to any player then its not working
-
please some one tell help me
-
where to put it in the clinet?
-
where to add that function on client.lua
-
he can use a timer to check isPlayerMuted then addEvent Back . if not isPlayerMuted then ---remove it again sorry but when to add that
-
i just want to know how to make zone and disable wanted in there
-
so that will remove that [muted] tag after the player get unmuted?
-
still not working. i give unmute and it still not removed the i give mut 1 min and wait 1 min same not removed
-
very good and thx but when i do unmute the write [muted] still on the player head not removed
-
when i give 1 player mute. they all the player in server get that [muted] on them heads
-
how to make that player wont get wanted in LV no stars so player don't get wanted level if the DM or hijacker other car etc..
-
do u check the script any thing wrong on it ?
-
i have resource but i cant see it in "p" admin panel so i can start it and it full resource and wheni go to MTA server.exe and type start it say access denied to command 'start' ACL: access denied for start.
-
sorry but still not working
-
function testing() local px, py, pz, tx, ty, tz, dist px, py, pz = getCameraMatrix( ) for _, v in ipairs( getElementsByType 'player' ) do tx, ty, tz = getElementPosition( v ) dist = math.sqrt( ( px - tx ) ^ 2 + ( py - ty ) ^ 2 + ( pz - tz ) ^ 2 ) if dist < 32.0 then if isLineOfSightClear( px, py, pz, tx, ty, tz, true, false, false, true, false, false, false,localPlayer ) then local sx, sy, sz = getPedBonePosition( v, 5 ) local x,y = getScreenFromWorldPosition( sx, sy, sz + 0.30 ) local x1,y1 = getScreenFromWorldPosition( sx, sy, sz + 0.35 ) local r,g,b = getPlayerNametagColor(localPlayer) scale = 0.65 if x then if getElementData(localPlayer,"playermuted") == 1 then dxDrawText( "Muted", x, y, x, y, tocolor(rr, gg, bb), scale + ( 15 - dist ) * 0.02, "bankgothic" ) end end end end end end addEventHandler("onClientRender",root,testing) on line 15. can i change the color? and if there any problem please tell me
-
veryy very nice 1 and thx it help