انا سويت الكود ذا يقلي في شي غلط بالسطر الثالث وش هوو
function teamName ( source )
local playerTeam = getPlayerTeam ( source ) -- get the player's team
if ( playerTeam ) = "Ballas" or ( playerTeam ) = "Vagos" then
local setElementPosition ( localPlayer , 202.39922, 1885.02637, 17.64806 )
setElementDimension ( localPlayer, 300)
else
outputChatBox ( "You have to join Ballas or Vagos Mr .getPlayerName ( source ) .. )
end
end
end
addCommandHandler ( "team", teamName )