Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. elseif chatStr[1] == "dial" then
  2. if chatStr[2] == "slow" then
  3. if IsValid(StargateP) then
  4. for k,v in pairs(GateAddressesP) do
  5. if k:lower() == chatStr[3] then
  6. printColor(Color(0,200,0),"[Gideon Mainframe]", Color(255,255,255)," Dialing Stargate to ", k.." ", ents.owner():getTeamColor(), ents.owner():name())
  7. stargate.dial(StargateP:entity(),v,0)
  8. end
  9. end
  10. elseif IsValid(StargateM) then
  11. for k,v in pairs(GateAddressesM) do
  12. if k:lower() == chatStr[3] then
  13. printColor(Color(0,200,0),"[Gideon Mainframe]", Color(255,255,255)," Dialing Stargate to ", k.." ", ents.owner():getTeamColor(), ents.owner():name())
  14. stargate.dial(StargateM:entity(),v,0)
  15. end
  16. end
  17. elseif IsValid(StargateU) then
  18. for k,v in pairs(GateAddressesU) do
  19. if k:lower() == chatStr[3] then
  20. printColor(Color(0,200,0),"[Gideon Mainframe]", Color(255,255,255)," Dialing Stargate to ", k.." ", ents.owner():getTeamColor(), ents.owner():name())
  21. stargate.dial(StargateU:entity(),v,0)
  22. end
  23. end
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement