rpg-x2/RPG-X2 Lua Documentation/examples/HelloWorldClient.lua

8 lines
299 B
Lua
Raw Normal View History

2011-06-01 12:20:56 +00:00
function HelloWorld(ent, other, activator)
game.ClientPrint(activator:GetNumber(),
"Hello " .. activator:GetClientname());
game.CenterPrint(activator:GetNumber(),
"Hello " .. activator:GetClientname());
game.MessagePrint(activator:GetNumber(),
"Hello " .. activator:GetClientname());
end