Jump to content

أستفسار عن خطأ بكود


Recommended Posts

ما الخطأ هنا؟

addEventHandler('onClientGUIClick', root,
function() 
if (source == killall) or killalllabel then 
local players = getElementsByType ( "ped" ) 
for theKey,thePlayer in ipairs(players) do 
killPed ( players, players ) 
end 
end)

Link to comment
كلينت

addEventHandler('onClientGUIClick', root,
function() 
    if (source == killall) or (source == killalllabel) then 
        triggerServerEvent ('kill', localPlayer) 
    end 
end)

سيرفر 

addEvent('kill', true)
addEventHandler('kill', root, 
function() 
    for i, players in ipairs (getElementsByType('player')) do
        KillPed (players) 
    end
end) 

اسف لو في أخطاء كتبته من الجوال

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...