Jump to content

طل اكواد


L3yr

Recommended Posts

شباب عارف انى اسألتى كتير اليومين دول

بس دا لانى بتعلم البرمجه وبحاول اصنع  من نفسى

 join انا عامل لوحه وفيها زر

انا عاوز اضغط على الكلمه دى انضم الى تيم الحرامى مثلا 

وشكرا

 

 

Link to comment

بمأ اني فاضي سويته لك

-- Client
addEventHandler ( "onClientGUIClick", root,
function ( )
if ( source == button ) then
triggerServerEvent ( "SetPlayerTeam", localPlayer )
end
end
)


-- Server
addEvent ( "SetPlayerTeam", true )
addEventHandler ( "SetPlayerTeam", root,
function ( )
local team = getTeamFromName( 'TeamName' )
if ( team ) then
setPlayerTeam( source, team )
end
end
)

 

Link to comment
1 hour ago, Deativated said:

بمأ اني فاضي سويته لك


-- Client
addEventHandler ( "onClientGUIClick", root,
function ( )
if ( source == button ) then
triggerServerEvent ( "SetPlayerTeam", localPlayer )
end
end
)


-- Server
addEvent ( "SetPlayerTeam", true )
addEventHandler ( "SetPlayerTeam", root,
function ( )
local team = getTeamFromName( 'TeamName' )
if ( team ) then
setPlayerTeam( source, team )
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...