-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
-- Client Side -- marker = createMarker(-1533.5, 766.3, 7.2, "cylinder", 50, 255, 255, 255, 255) addEventHandler("onClientMarkerHit", marker, function(player) if player == localPlayer then showPlayerHudComponent("ammo", true) showPlayerHudComponent("weapon", true) end end) addEventHandler("onClientMarkerLeave", marker, function(player) if player == localPlayer then showPlayerHudComponent("ammo", false) showPlayerHudComponent("weapon", false) end end)
-
addEventHandler("onClientGUIClick",root, function () local neon_get_r = tonumber(guiGetText(rog_modshop_neon_edit_r)) local neon_get_g = tonumber(guiGetText(rog_modshop_neon_edit_g)) local neon_get_b = tonumber(guiGetText(rog_modshop_neon_edit_b)) if source == rog_modshop_neon_btn_back then guiSetVisible(rog_modshop_neon_window,false) guiSetVisible(rog_modshop_upgrades_window,true) elseif source == rog_modshop_neon_btn_add then triggerServerEvent("rog:modshop:neon",localPlayer, localPlayer, neon_get_r, neon_get_g, neon_get_b) elseif source == rog_modshop_neon_btn_colorTest then local neon_lbl_colorTest = guiCreateLabel(17, 190, 288, 20, "Color",false,rog_modshop_neon_window) guiLabelSetColor ( neon_lbl_colorTest, neon_get_r, neon_get_g, neon_get_b) end end )
-
كودي شغال و كود سعد شغال ذا تعديل أضافي للكود local id = 287 marker = createMarker(225.08284, 1886.89990, 17, "cylinder", 2, 255, 0, 0, 255) addEventHandler("onMarkerHit", marker, function(player) if getElementType(player) == "player" then setElementModel(player, id) outputChatBox("تم تغيير الشخصيه بنجاح", player, 0, 255, 0, true) end end) addEventHandler("onElementModelChange", root, function(old, new) if getElementType(source) == "player" then if isElementWithinMarker(source, marker) then if old == id and new ~= id then killPed(source) outputChatBox("لا تستطيع تغيير شخصيتك وانت بالماركر", source, 255, 0, 0) end end end end)
-
لما تغير الشخصية ما يجي ذا الكلام في الشات؟ "لا تستطيع تغيير شخصيتك وانت بالماركر"
-
function joinAdmins(source) setPlayerTeam(source, AdminTeam) setPlayerNametagColor(source, 255, 255, 255) end addCommandHandler("admin", joinAdmins)
-
local id = 287 marker = createMarker(225.08284, 1886.89990, 17.64063, "cylinder", 2, 255, 0, 0, 255) addEventHandler("onMarkerHit", marker, function(player) if getElementType(player) == "player" then setElementModel(player, id) outputChatBox("تم تغيير الشخصيه بنجاح", player, 0, 255, 0, true) end end) addEventHandler("onElementModelChange", root, function(old, new) if getElementType(source) == "player" then if isElementWithinMarker(source, marker) then if new ~= id then killPed(source) outputChatBox("لا تستطيع تغيير شخصيتك وانت بالماركر", source, 255, 0, 0) end end end end)
-
ض1 وين أنا قلت لك لا تحطهم بلاير أنا قلت لك عندك خيارين person يعني أما انك تحطهم كلهم بلاير أو تحطهم كلهم
-
marker = createMarker(228.08263, 1897.70776, 16.64806, "checkpoint", 1, 0, 0, 255, 255) function changeLocation(player) if getElementModel(player) == 0 then setElementPosition(player, 230.35773, 1913.13599, 17.64063) end end addEventHandler("onMarkerHit", marker, changeLocation)
-
عندك خيارين player إلى person الأول: غير كلمة person إلى player الثاني: غير كلمة + لا تنسى تحطه end ناقص
-
إذا تبيه إلى شخصية رقم 0 if getElementModel(player) == 0 then إذا تبيه لقروب كونسل local accName = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup("user."..accName, aclGetGroup("Console")) then إذا تبيه لشخصية رقم 0 أو قروب كونسول local accName = getAccountName(getPlayerAccount(player)) if getElementModel(player) == 0 or isObjectInACLGroup("user."..accName, aclGetGroup("Console")) then
-
مافهمت ._. كيف يعني تسوي له نفس الشي؟
-
صح بس وين راح ذا function openMyGate ( player ) و ذا function closeMyGate ( player )
-
كبتل P أنت حاط حرف المفروض سمول Player = player
-
player إلى thePlayer غير + شوف ردي فوق
-
local accName = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup("user."..accName, aclGetGroup("Console")) then
-
if getElementModel(player) == 0 then
-
Sorry, but your code makes no sense at all.
-
If you don't want dual weapon, remove this line: setWeaponProperty(31, "pro", "flags", 0x000800) If you don't want fast move speed, remove this line or lower the number 100 to something else. setWeaponProperty(31, "pro", "move_speed", 100) Otherwise, i didn't understand what is the type of help you need.
