جرب
Teame = createTeam("Pilot", 0, 255, 0)
taxiTeams = { [Teame] = true }
taxiVehs = { [553] = true, [593] = true }
function teamSet (id)
local team = getTeamFromName ( "Pilot" )
if team then
setPlayerTeam ( source, team )
setPlayerNametagColor ( source, 0, 255, 0 )
setElementModel(source, id)
warnText("You are now Pilot job.",source,255,255,0)
else
local teamw = getTeamFromName ( "Pilot" )
if teamw then
cancelEvent()
end
end
end