rpg-x2/RPG-X2 Lua Documentation/examples/HelloWorldClient.lua
2011-06-01 14:20:56 +02:00

8 lines
No EOL
299 B
Lua

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