05.07.2015, 16:12
Great work
How to set encoding to "1251 windows-1251 ANSI Cyrillic; Cyrillic (Windows)" ?
|
codepage [number]
In server.cfg add
Code:
codepage [number] http://sampsharp.timpotze.nl/configuration#encoding |
Everything should just work.
There is very basic documentation available at http://sampsharp.timpotze.nl and http://api.sampsharp.timpotze.nl (API docs is a version behind, sorry! ). It tells you how to set things up and get started but much more hasn't been documented yet. With the latest version of sampsharp, you should be able to use entity framework, but I like NHibernate better (I had issues with EF before, but NH worked for me from the gecko). A basic NHibernate example can be found here: https://github.com/ikkentim/SampShar...NHibernateTest I'm going on vacation tomorrow, so if you need help, we also have a channel on gitter: http://gitter.im/ikentim/sampsharp , and there are some friendly people on there who might be able to help you if you have issues getting started. To get started, it's best if you follow the steps under "setup" (except for Building the Plugin) and then the steps under "basics" on http://sampsharp.timpotze.nl |
foreach (Player player in Player.GetAll<Player>())
{
if (player.Test)
{
player.SendClientMessage(Color.Blue, "test");
}
}