Custom PrintToPlayer/PrintToServer Stuff
Re: Custom PrintToPlayer/PrintToServer Stuff
I really like this.
Re: Custom PrintToPlayer/PrintToServer Stuff
Thanks Joe! I have a lot of fun with it, and use it to announce new users logging into our small server.
Re: Custom PrintToPlayer/PrintToServer Stuff
Has anyone submitted this to the repository? I think this would be a great addition to the game server.
Re: Custom PrintToPlayer/PrintToServer Stuff
I was told that it doesn't follow retail and would be rejected for that reason.
-
- Posts: 4
- Joined: Thu Jul 30, 2015 7:53 am
Re: Custom PrintToPlayer/PrintToServer Stuff
Hey guys, is this script still working?
Re: Custom PrintToPlayer/PrintToServer Stuff
Yeppers works great
-
- Posts: 129
- Joined: Wed May 27, 2015 4:23 pm
Re: Custom PrintToPlayer/PrintToServer Stuff
I've noticed that if you are trying to create custom dialogs, it will only allow you to use one specific color per line. If you use a color more than once on a multi-line message it crashes the client.
Re: Custom PrintToPlayer/PrintToServer Stuff
Reviving this old topic...
I cannot get this to work for some reason:
Tried simplifying the message to just get something to pop up when a user logs in. This is how I have it inserted into the onGameIn function from the player.lua file:
Tried inserting it into other functions as well...can never get the message to display upon a login. What am I doing wrong?
I cannot get this to work for some reason:
Code: Select all
player:PrintToServer(string.format("The character %s has logged in...", player:getName()), 0x1C);
Code: Select all
function onGameIn(player, firstlogin, zoning)
if (not zoning) then -- Things checked ONLY during logon go here.
player:PrintToPlayer("Test");
if (firstlogin) then
CharCreate(player);
end
end
Re: Custom PrintToPlayer/PrintToServer Stuff
did you make the lua_baseentity changes and recompile?