Hi fellow escapians, I have a problem. Please read this if you believe you can help
I was on a server in Gmod the other day, and saw someone making a screen that displays player stats such as name, steam ID, number of kills, number of deaths, if no-clip is on, and other minor things, using coding in an e2, a target finder and a console screen. He told me it was using a system in e2 called Wirelink that I had never heard of.
So, I looked on the Wiki and have managed to set up all the string commands (My screen displays name, steamID, player model), but I am having trouble with making it display numbers.
This is what my coding looks like for those who can help me: (this took AGES to type)
@Inputs: Player:entity Input:wirelink Writebutton Wipebutton
@Outputs: Pname:string Pmodel:string Psteamid:string Pkills Pdeaths Pnoclip
interval(10)
Pname = Player:name()
Pmodel = Player:model()
Psteamid = Player:steamID()
Pkills = Player:frags()
Pdeaths = Player:deaths()
Pnoclip = Player:inNoclip()
if(Writebutton == 1 & ~Writebutton)
{Input:writeString("NAME:",1 ,1, 990, 900), Input:writeString(Pname,10 ,1, 990, 900),
Input:writeString("MODEL:",1 ,2, 990, 900), Input:writeString(Pmodel,10 ,2, 990, 900),
Input:writeString(STEAMID:",1 ,3, 990, 900), Input:writeString(Psteamid,10 ,3, 990, 900)}
if(Wipebutton == 1 & ~Wipebutton) {Input:writeCell(2041, 1)}
There we go. End.
Now this is where I am stuck.
The parts highlighted in red on the @,inputs line and the first set of command lines are the ones that can't output in string (Text), only number.
My screen does display everything in string format properly, but I haven't been able to work out how to make it display numbers.
For example:
Input:writeString makes something write the values put after it as text onto the screen.
Input:writeCell(2041, 1) Wipes the screen.
But I simply cannot find a way to make the expression chip output numbers. I may be thinking too hard and WAY too much into it. It may be something really simple that I have done before, but have forgotten. But all I know is, it is not on the wiki (neither is most of the commands I used here), and I have been searching on Gmod's servers for people who know and everyone I have met happens to hate e2, and so do not know. I cannot find the original creator of the creation I basing this upon either. This results in the theory as follows:
I need help.
I am willing to give any extra information needed,or explain each minor command in detail for those who wish to learn. Sorry if you don't understand this, but it is advanced, as I said.
Side note: Many of you will probably reply by saying "you shouldn't be asking for help with this here", but I beliebve I should. Everytime I have come here in the past I have gotten information accurately and quickly. Other places just seem to shove questions and newbies aside, so I believe here is the best place for me to be asking this question.
I was on a server in Gmod the other day, and saw someone making a screen that displays player stats such as name, steam ID, number of kills, number of deaths, if no-clip is on, and other minor things, using coding in an e2, a target finder and a console screen. He told me it was using a system in e2 called Wirelink that I had never heard of.
So, I looked on the Wiki and have managed to set up all the string commands (My screen displays name, steamID, player model), but I am having trouble with making it display numbers.
This is what my coding looks like for those who can help me: (this took AGES to type)
@Inputs: Player:entity Input:wirelink Writebutton Wipebutton
@Outputs: Pname:string Pmodel:string Psteamid:string Pkills Pdeaths Pnoclip
interval(10)
Pname = Player:name()
Pmodel = Player:model()
Psteamid = Player:steamID()
Pkills = Player:frags()
Pdeaths = Player:deaths()
Pnoclip = Player:inNoclip()
if(Writebutton == 1 & ~Writebutton)
{Input:writeString("NAME:",1 ,1, 990, 900), Input:writeString(Pname,10 ,1, 990, 900),
Input:writeString("MODEL:",1 ,2, 990, 900), Input:writeString(Pmodel,10 ,2, 990, 900),
Input:writeString(STEAMID:",1 ,3, 990, 900), Input:writeString(Psteamid,10 ,3, 990, 900)}
if(Wipebutton == 1 & ~Wipebutton) {Input:writeCell(2041, 1)}
There we go. End.
Now this is where I am stuck.
The parts highlighted in red on the @,inputs line and the first set of command lines are the ones that can't output in string (Text), only number.
My screen does display everything in string format properly, but I haven't been able to work out how to make it display numbers.
For example:
Input:writeString makes something write the values put after it as text onto the screen.
Input:writeCell(2041, 1) Wipes the screen.
But I simply cannot find a way to make the expression chip output numbers. I may be thinking too hard and WAY too much into it. It may be something really simple that I have done before, but have forgotten. But all I know is, it is not on the wiki (neither is most of the commands I used here), and I have been searching on Gmod's servers for people who know and everyone I have met happens to hate e2, and so do not know. I cannot find the original creator of the creation I basing this upon either. This results in the theory as follows:
I need help.
I am willing to give any extra information needed,or explain each minor command in detail for those who wish to learn. Sorry if you don't understand this, but it is advanced, as I said.
Side note: Many of you will probably reply by saying "you shouldn't be asking for help with this here", but I beliebve I should. Everytime I have come here in the past I have gotten information accurately and quickly. Other places just seem to shove questions and newbies aside, so I believe here is the best place for me to be asking this question.