Advertisement
BazZziliuS

[Server] gm_construct #1 {Teleport}

Jul 21st, 2018
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. hook.Add( "PlayerSay", "Killurself", function( ply, text, public )
  2.     text = string.lower( text )
  3.     if ( text == "!build" ) then
  4.         ply:SetPos(Vector(-4208,-3060,310))
  5.         local NamePlay=ply:Name()
  6.         for k, v in pairs ( player.GetAll() ) do
  7. v:SendLua( [[chat.AddText( Color( 255,120,0),"]].."BuildZone"..[[", Color(255,255,255), ": ]]..NamePlay.." teleported to BuildZone" ..[[")]] )
  8.    
  9.         end
  10.    
  11.     end
  12. end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement