The online racing simulator
Searching in All forums
(75 results)
ab12
Demo licensed
Quote from speecdrift :when the server reach a +20 players

Are you using S2 cracked?
ab12
Demo licensed
Will be nice if i will have S1...
ab12
Demo licensed
Quote from asyed :Draggo's rev bouncer works, i can pm you the link. all you have to do is a small dashboard mod.

Can you give me rev bouncer too please?
ab12
Demo licensed
Does anyone know rims textures for XFG?
ab12
Demo licensed
If you press F9 you can see tyre temperature.
ab12
Demo licensed
Can i have the mods please? Big grin
ab12
Demo licensed
Try:
StreamReader sr = new StreamReader("YourFile.txt")

ab12
Demo licensed
Are you sure you unlocked lfs?
ab12
Demo licensed
Yes, pm me. Smile
ab12
Demo licensed
If you want a cruise server i have to make your own insim. Sorry for my bad english Frown
ab12
Demo licensed
Can you be more explicit, please? I'm not English and I don't understand very well Shrug
ab12
Demo licensed
Debug...
ab12
Demo licensed
You have to open the file with visual studio then build it again (exept LFSLapper, I don't know nothing from LFSLapper)
ab12
Demo licensed
Quote from Bose321 : It clearly says in a few lines above that Conn is the connection who typed the message, and not the one that was kicked.

I tested it only on me and of course works perfect because i typed and insim showed me my name xD
But how i can know who was kicked and no who typed the message ?
Insim.NET - kick command
ab12
Demo licensed
Good morning. I want to add kick command in my insim but I have a little problem. The command is: !kick username reason.The command work but don't write the reason in chat.
Any help please? Smile

if (MSO.UserType == UserType.MSO_PREFIX) {

var Conn = Connections[GetConnIdx(MSO.UCID)];
string Text = MSO.Msg.Substring(MSO.TextStart, (MSO.Msg.Length - MSO.TextStart));
string[] command = Text.Split(' ');
command[0] = command[0].ToLower();

switch(command[0]) {

case "!kick":
{
string Username = Text.Remove(0, command[0].Length + command[1].Length + 2);
insim.Send("^1----------Kick----------");
insim.Send(Conn.Playername + " ^8(" + command[0] + ") ^1was kicked!");
insim.Send("^1Reason: " + command[1]);
insim.Send("^1------------------------");
}
break; }}

Input: !kick ab12 is AFK for long time

Output: ----------Kick----------
Ali (ab12) was kicked!
Reason: is
------------------------

ab12
Demo licensed
It's very nice! Thumbs up
Can i have the mod for road please ? Smile
ab12
Demo licensed
Quote from Eclipsed :Why not?

I'm not sure if lfs devs like tweaks...
ab12
Demo licensed
Don't talk about tweaks here, please!
InSimDotNet - Host
ab12
Demo licensed
Hey, what packet I have to use to know host name ?
Is there any way to know that players joined on server (player's username)

Sorry for my bad english Frown
Trip meter / Total distance
ab12
Demo licensed
Hello, I saw in iC this "trip meter and total distance"
How it works ? I ask because i saw only a button what is showing you trip and total distance.
ab12
Demo licensed
Quote from Bose321 :Don't even bother...

He can't be bothered to explain what it should do, what it doesn't do, or any context at all.

If Msg1 from .txt file is empty i want insim to send Msg2 from .txt file

Sorry for my bad english Frown
ab12
Demo licensed
The code work and without the curly brackets mate Smile
AutoMessages from .txt file
ab12
Demo licensed
Hello, I have this code in my insim and is not going as I want.

switch(Stage)
{
case 1:
if(Msg1 != "")
{
insim.Send("/msg " + Msg1);
Stage += 1;
}
else //if Msg1 is null, send message 2
insim.Send("/msg " + Msg2);
Stage += 1;

break;

case 2:
if(Msg2 != "")
{
insim.Send("/msg " + Msg2);
Stage += 1;
}
break;

case 3:
if(Msg3 != "")
{
insim.Send("/msg " + Msg3);
Stage = 1;
}
break;
}

Any help please ? Smile
ab12
Demo licensed
Oh, I'm sorry, I didn't know that.
FGED GREDG RDFGDR GSFDG