[IDEA] Shell printer
#1

for us who use linux servers and connect through SSH. it would be nice to have the server "print" messages go though the SSH client.

for example:

main()
{
shell("-----------------");
shell("samp server by your name here started!");
shell("-----------------");
}

because on a vps you don't see the server window so "print" is useless....

i might try to make it my self but i have no idea how to script plugins but im sure i could learn

what do you think?
Reply
#2

There is actually a way of practically doing this yourself using Linux commands! Simple!

Код:
tail -f yourserverdirectory/server_log.txt
Put that in your SSH Terminal and it will print your server activity to your terminal! Printing will be useful again
Reply
#3

Oo0Oo N13Z!!!! (oooooo nice) lol thanks lotts man! works perfect!

edit: is there a way to have it add "SAMP SERVER: and stuff here"
like: "SAMP SERVER: [18:03:51] [chat] [ethan]: om nom nom nom nom"
Reply
#4

Quote:
Originally Posted by <__Ǝthan__>
Oo0Oo N13Z!!!! (oooooo nice) lol thanks lotts man! works perfect!

edit: is there a way to have it add "SAMP SERVER: and stuff here"
like: "SAMP SERVER: [18:03:51] [chat] [ethan]: om nom nom nom nom"
Change OnPlayerText to return 0, and use SendPlayerMessageToAll instead of the normal OnPlayerText, then simply create that print with printf , also this should be moved to scripting discussion now
Reply
#5

doh, i should have thought of that, and sure now i got it, you can either move it or just delete it

Thanks again!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)