-
Posts
10,056 -
Joined
-
Last visited
-
Days Won
27
Everything posted by iPrestege
-
اعذرني خل واحد يعرف للبيس مود يساعدك لاني مافهمت وش السالفة كلها -___-" ! @ Max Ty ,
-
I'm going to try it i will give you the results wait please ... !
-
انت جبت اسم التيم حق الاعب المفترض تشيكـ اذا كان الاعب فـ تيم من الاصل !! local serials = { ["السريال"] = true, } addEventHandler("onPlayerJoin", root, function() if serials[getPlayerSerial(source)] then local team = getPlayerTeam ( source ) if ( team and getTeamName ( team ) == "Spectator" ) then setPlayerTeam(source,Spectator) end end end ) وصاحب الموضوع ماطلب مثل كذا!؟ بس حصل خير .
-
-- server side addEventHandler("onPlayerJoin", root, function() if getPlayerSerial(source) == "حط السريال هنا" then outputChatBox("الكلام هنا", root, 0, 255, 0, true) elseif getPlayerSerial(source) == "حط السريال هنا" then outputChatBox("الكلام هنا", root, 0, 255, 0, true) elseif getPlayerSerial(source) == "حط السريال هنا" then outputChatBox("الكلام هنا", root, 0, 255, 0, true) end end )
-
Col = createColSphere (-2842.7297363281, -329.54904174805,167.10781860352, 20 ) Col1 = createColSphere ( -2953.7856445313,-330.46145629883,4.9000000953674, 20 ) addEventHandler( "onColShapeHit", root, function (player) if ( source == Col or source == Col1 and player and getElementType(player) == "player") then outputChatBox ("You , Can,t Get Vehicle Here!!", player, 255, 0, 0, false) triggerClientEvent (player, "enableGodMode", player) toggleControl (player, "fire", false ) toggleControl (player, "aim_weapon", false) toggleControl (player, "vehicle_fire", false) timers[player] = setTimer (function (player) if isElement(player) then local weaponType = getPedWeapon ( player ) if ( weaponType ) then takeAllWeapons ( player ) end if isPedInVehicle( player ) then if isTimer(timers[player]) then killTimer(timers[player]) timers[player] = nil end setTimer(onhit, 2000, 1, player) outputChatBox ("You , Can,t Get Vehicle Here!!", player, 255, 0, 0, false) end end end, 1000, 0, player) end end ) function onhit(plr) if plr and isElement(plr) then local veh = getPedOccupiedVehicle(plr) setElementVelocity (veh, 0, 0, 0) setElementPosition (veh, -3031.3862304688,-194.81304931641,5) setVehicleRotation (veh, 0,0,270) end end addEventHandler ("onColShapeLeave", root, function(player) if ( source == Col or source == Col1 and getElementType(player) == "player" )then if isTimer(timers[player]) then killTimer(timers[player]) timers[player] = nil end triggerClientEvent (player, "disableGodMode", player) toggleControl (player, "fire", true ) toggleControl (player, "aim_weapon", true) toggleControl (player, "vehicle_fire", true) end end ) addEventHandler("onPlayerQuit",root, function() if isTimer(timers[source]) then killTimer(timers[source]) timers[source] = nil end end )
-
So , How can i do it with colshape .
-
-- N'a pas été testé, mais devrait fonctionner! . function Search() guiGridListClear ( playersList ) local text = guiGetText ( source ) if ( text ~= "" ) then for index, player in ipairs (getElementsByType("player")) do if ( string.find ( string.upper ( getPlayerName ( player) ), string.upper ( text ), 1, true ) ) then local row = guiGridListAddRow ( playersList ) guiGridListSetItemText( playersList, row, 1, getPlayerName ( player), false, false ) end end else for index, player in ipairs (getElementsByType("player")) do local row = guiGridListAddRow ( playersList ) guiGridListSetItemText( playersList, row, 1, getPlayerName ( player), false, false ) end end end addEventHandler ( "onClientGUIChanged", Search, searchedit, false )
-
Well, you can tell me what he wants?
-
Yes, I know this, but what would do if I used? getElementDimension
-
I see that no one has to help you, if you want me to help, please speak English maybe I can help you.
-
تمت الافاده يعطيك العافيه اخوي تابل + مشكورين لكل من شاارك تغير ردك لية ؟ توك كنت تقول تبي واحد يسوي الكود لـ سريال واحد -_-" !! مسوي طالع منها
-
-- server side addEventHandler("onPlayerJoin", root, function() if getPlayerSerial(source) == "حط السريال هنا" then outputChatBox("الكلام هنا", root, 0, 255, 0, true) end end )
-
"OnClientGUIClick" = "onClientGUIClick"
-
if isPedInVehicle( player ) the script it works but the problem some times i didn,t hit the marker but i will go to the position the one i put -_-" .
-
Hello , I Have Problem Here On This Script I Do it With Marker But The Problem If Is Player In Vehicle And He Didn,t Hit The Marker He Will Be Spawned To The Fucking Position i Put ( = Note : Am Using It On Server Side On Meta Some Help To Fix It local Marker = createMarker ( -2842.7297363281, -329.54904174805, 167.10781860352, "checkpoint", 20, 255, 255, 255, 255 ) local Marker1 = createMarker ( -2953.7856445313,-330.46145629883, 4.9000000953674, "checkpoint", 20, 255, 255, 255, 255 ) timers = {} function marker(player) if (source == Marker or source == Marker1 and player and getElementType(player) == "player") then outputChatBox ("You , Can,t Ger Vehicle Here!!", player, 255, 0, 0, false) triggerClientEvent (player, "enableGodMode", player) toggleControl (player, "fire", false ) toggleControl (player, "aim_weapon", false) toggleControl (player, "vehicle_fire", false) timers[player] = setTimer (function (player) if isElement(player) then local weaponType = getPedWeapon ( player ) if ( weaponType ) then takeAllWeapons ( player ) end if isPedInVehicle( player ) then if isTimer(timers[player]) then killTimer(timers[player]) timers[player] = nil end setTimer(onhit, 2000, 1, player) outputChatBox ("You , Can,t Ger Vehicle Here!!", player, 255, 0, 0, false) end end end, 1000, 0, player) end end addEventHandler ("onMarkerHit",getRootElement(),marker) function onhit(plr) if plr and isElement(plr) then local veh = getPedOccupiedVehicle(plr) setElementVelocity (veh, 0, 0, 0) setElementPosition (veh, -3031.3862304688,-194.81304931641,5) setVehicleRotation (veh, 0,0,270) end end addEventHandler ("onMarkerLeave",getRootElement(),function(player) if (source == Marker or source == Marker1 and getElementType(player) == "player" )then if isTimer(timers[player]) then killTimer(timers[player]) timers[player] = nil end triggerClientEvent (player, "disableGodMode", player) toggleControl (player, "fire", true ) toggleControl (player, "aim_weapon", true) toggleControl (player, "vehicle_fire", true) end end) addEventHandler("onPlayerQuit",root,function() if isTimer(timers[source]) then killTimer(timers[source]) timers[source] = nil end end )
-
So , Show The Client Side Please .
-
If used in server-side will be defined .
-
Ok , Thanks manve .
-
مافك التشفير بس الكود الي انا حاط فيه نكي مايتشفر يعني الاكواد و الاحداثيات تتشفر بس الكود الي يطلع كلام بـ الشات هذا مايتشفر فـ يمديه يغير نكي مادري كيف لآ اي تعديل في الملف يتعطل وجرب بـ نفـسـكـ والملف راح يتعطل كامل لو كذا كان الناس خذت حقوق كل من هب ودب وطرح؟! .
-
وعليكم السلام ..! سكربت جميل وخاصية الالغاء اعجبتني فية ..!! تسلمم و مشككور عـ الطرحح !
-
وكيف يقدر يشيل الاسم وهو مشفر فك التشفير ؟
-
This is very expensive no one will buy from you! 115 EUR = 155٫184 USD
-
Will, Now, Are You Sure About The Position ? . Update : The Problem is On The Position i Test it on This Position And Works Great! I I've tested this and it works: function acceptj(thePlayer) if (getElementType(thePlayer) == "player") then setCameraInterior(thePlayer, 10) setCameraMatrix (thePlayer,-2865.09838, 1488.72497, 155.71398, -2261.01758, 2327.17847, 19.21039) end end addCommandHandler ( "ajob", acceptj )
-
-- Server Side And As "3NAD" Say Check The Position!? function acceptj(thePlayer) if (getElementType(thePlayer) == "player") then setCameraInterior ( thePlayer, 10 ) setCameraMatrix ( thePlayer, 377.54309082031, -65.136703491211, 1002.3890991211, 376.56094360352, -65.279510498047, 1002.2667236328) end end addCommandHandler ( "ajob", acceptj )