Ulysses
Home
Help
Ulysses
»
Ulysses Stuff
»
General Chat & Help and Support
»
Player spawned in the server
« previous next »
Print
Pages: [
1
]
Go Down
Author
Topic: Player spawned in the server (Read 4455 times)
0 Members and 1 Guest are viewing this topic.
riki137
Newbie
Posts: 44
Karma: 0
lol wuttermelon
Player spawned in the server
«
on:
July 07, 2010, 12:45:37 pm »
How can i make that it will write to chat when player spawned on server?
Its only in ULX Logs but don't write to chat.
Thanks, Riki.
Logged
Megiddo
Ulysses Team Member
Hero Member
Posts: 6214
Karma: 394
Project Lead
Re: Player spawned in the server
«
Reply #1 on:
July 07, 2010, 01:14:39 pm »
Untested, but this should work. Just make a file in lua/autorun on your server and stick this code in it. It doesn't matter what the file is named.
Code: Lua
local
function
onInitialSpawn
(
ply
)
ULib
.
tsay
(
nil
,
ply
:
Nick
(
)
..
" has joined the server."
)
end
hook
.
Add
(
"PlayerInitialSpawn"
,
"doSayOnSpawn"
,
onInitialSpawn
)
«
Last Edit: July 07, 2010, 04:51:46 pm by JamminR
»
Logged
Experiencing God's grace one day at a time.
riki137
Newbie
Posts: 44
Karma: 0
lol wuttermelon
Re: Player spawned in the server
«
Reply #2 on:
July 15, 2010, 03:32:05 am »
Thanks, i will test it now.
Logged
riki137
Newbie
Posts: 44
Karma: 0
lol wuttermelon
Re: Player spawned in the server
«
Reply #3 on:
July 15, 2010, 03:58:14 am »
It works, but joined i will replace with spawned in, ye?
Many thanks
«
Last Edit: July 15, 2010, 04:04:24 am by riki137
»
Logged
MrPresident
Ulysses Team Member
Hero Member
Posts: 2727
Karma: 430
Re: Player spawned in the server
«
Reply #4 on:
July 15, 2010, 11:53:55 am »
You can edit the string to say whatever you want. It will still work so long as you do not change any of the actual lua syntax part of it.
Logged
riki137
Newbie
Posts: 44
Karma: 0
lol wuttermelon
Re: Player spawned in the server
«
Reply #5 on:
July 20, 2010, 06:47:40 am »
Thanks, Really many thanks
Everyone other want to made this for me for money 5GBP-10USD
Logged
Print
Pages: [
1
]
Go Up
« previous next »
Ulysses
»
Ulysses Stuff
»
General Chat & Help and Support
»
Player spawned in the server