ItsMods

Full Version: Reading Online files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys, im sorry for my last question, i have another question about plugin, it is possible to read a txt file like this http://alterinutile.altervista.org/messages.txt and print the message in game? I have tryed all the night but always when i connected to the server it crashed D:
Make sure you don't fetch the data in a synchronous gamethread, this will make everyone lag and maybe crash the game.
I do this in my speed plugin. Check out the speed plugin source.
Thank you guys but i dont know how to do it, you can close the topic Sad
Thank you, but i found what you wrote before opening this post.
This is taken from @Pozzuh plugin:

Code:
unsafe public override void OnServerLoad()
{
         if (!getOffsets())
                  return;
}

I cant use OnServerLoad(), you know why, and i dont know any other way to do it.
Anyway thank you guys for your help!
Why can't you use OnServerLoad ?
Because in not using addon.dll Smile
There is something else, I think it's called Base.