net.SendPAS

From GMod Wiki

Jump to: navigation, search
Function
Syntax net.SendPAS( Vector )
Where is this used?
Description:
Sends the current net library data to all players which the server can hear from that position.
Returns: Nil
Part of Library: net
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Net.SendPAS]Net.SendPAS [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionSends data to all players which the server can hear from the position.
Used onNewerServer.png
Code
net.Start("Test")
    net.WriteString("Hi There")
net.SendPAS(Vector(0,0,0))
 
OutputAny players who are near the center of the map will be sent the data "Hi There"


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox