Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- elseif chatStr[1] == "dial" then
- if chatStr[2] == "slow" then
- if IsValid(StargateP) then
- for k,v in pairs(GateAddressesP) do
- if k:lower() == chatStr[3] then
- printColor(Color(0,200,0),"[Gideon Mainframe]", Color(255,255,255)," Dialing Stargate to ", k.." ", ents.owner():getTeamColor(), ents.owner():name())
- stargate.dial(StargateP:entity(),v,0)
- end
- end
- elseif IsValid(StargateM) then
- for k,v in pairs(GateAddressesM) do
- if k:lower() == chatStr[3] then
- printColor(Color(0,200,0),"[Gideon Mainframe]", Color(255,255,255)," Dialing Stargate to ", k.." ", ents.owner():getTeamColor(), ents.owner():name())
- stargate.dial(StargateM:entity(),v,0)
- end
- end
- elseif IsValid(StargateU) then
- for k,v in pairs(GateAddressesU) do
- if k:lower() == chatStr[3] then
- printColor(Color(0,200,0),"[Gideon Mainframe]", Color(255,255,255)," Dialing Stargate to ", k.." ", ents.owner():getTeamColor(), ents.owner():name())
- stargate.dial(StargateU:entity(),v,0)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement