Jump to content

هذا الموضوع لمشاكلي بالأكواد


Recommended Posts

كذااا ؟؟!!

  
  
local Marker = { 
    {x, y, z, "arrow", 2, 255, 0, 0, 150}, 
    {x, y, z, "arrow", 2, 255, 0, 0, 150}, 
    {x, y, z, "arrow", 2, 255, 0, 0, 150}, 
    {x, y, z, "arrow", 2, 255, 0, 0, 150}, 
    {x, y, z, "arrow", 2, 255, 0, 0, 150}, 
    {x, y, z, "arrow", 2, 255, 0, 0, 150}, 
    {x, y, z, "arrow", 2, 255, 0, 0, 150}, 
    {x, y, z, "arrow", 2, 255, 0, 0, 150}, 
    {x, y, z, "arrow", 2, 255, 0, 0, 150}, 
    {x, y, z, "arrow", 2, 255, 0, 0, 150}, 
  
} 
  
  
  
  

Link to comment
Markers = { 
{z, y, x} 
} 
  
for i=1,#Markers do 
    local x, y, z = Markers[i][1], Markers[i][2], Markers[i][3] 
    local Marker = createMarker(x, y, z-1, "cylinder", 1, 225, 255, 0, 150) 
end 

مشكوووووور احمد

بس اتمنى منك تتضل متابع هالموضوع لانه رح يطول

Link to comment

كذا يضبط ؟

  
  
  
Markers = { 
{z, y, x} 
{z, y, x} 
{z, y, x} 
{z, y, x} 
{z, y, x} 
{z, y, x} 
{z, y, x} 
{z, y, x} 
{z, y, x} 
{z, y, x} 
  
  
} 
  
for i=1,#Markers do 
    local x, y, z = Markers[i][1], Markers[i][2], Markers[i][3] 
    local Marker = createMarker(x, y, z-1, "cylinder", 1, 225, 255, 0, 150) 
end 
  

Link to comment

مشكورين اخواني

والله تعبتكو معي

بس تتاكدولي من هالكود واذابه اخطاء صححولي اياه

  
addEventHandler("onPlayerWasted", root, 
function( _, Killer ) 
        if isElement(Killer) and getElementType(Killer) == "player" then 
            exports["guimessages"]:outputServer(root, "*[boxing Mission] "..getPlayerName(Killer).." ("..getElementData(Killer,"PointBox").." Damage) "..getPlayerName(source).." ("..getElementData(source,"PointBox").." Damage) ", 0, 255, 255) 
            TopKill[Killer] = (TopKill[Killer] or 0) + 1 
        else 
            exports["guimessages"]:outputServer(root, "*[boxing Mission] ["..getPlayerName(source).."] Dead In Boxing Mission !", 255, 255, 0) 
        end 
            triggerClientEvent(source, "BoxingWasted", source) 
            if isElement(Killer) and getElementType(Killer) == "player" then 
                triggerClientEvent(Killer, "winbox", Killer) 
                triggerEvent("Point",Killer) 
                setElementData(Killer,"KilledInMission",(getElementData(Killer,"KilledInMission")or 0)+1) 
                exports["guimessages"]:outputServer(Killer,"*[boxing Mission] You Won 1 Point",0, 255, 255) 
            end 
            end 
        end 
    end 
end ); 
  
addCommandHandler("getScoreMission", 
function(player) 
outputChatBox("You score in mission is: "..getElementData(player, "PointBox", player) 
end 
) 
  
كلينت 
  
addEvent("BoxingWasted",true) 
addEventHandler("BoxingWasted",root,WastedMissionBoxing) 
  
addEvent("winbox", true) 
addEventHandler("winbox",root,ActionMissionGood) 
  
  

Link to comment

طيب ابي اسوي عد تنازلي كيف ؟

كذا ؟

  
  
                    setTimer ( outputChatBox, 5000, 1, "5" ) 
                    setTimer ( outputChatBox, 4000, 1, "4" ) 
                    setTimer ( outputChatBox, 3000, 1, "3" ) 
                    setTimer ( outputChatBox, 2000, 1, "2" ) 
                    setTimer ( outputChatBox, 1000, 1, "1" ) 
  
  
  

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...