These are chat archives for ikkentim/SampSharp

4th
Jul 2015
Marco Acierno
@marcoacierno
Jul 04 2015 18:08
appveyor says that the build is failing, maybe it's an error of appveyor?
Tim Potze
@ikkentim
Jul 04 2015 19:01
No it's an error in the code still working on it.
I pushed incomplete code by accident, but I still have incomplete code, will push when it works.
Tim Potze
@ikkentim
Jul 04 2015 20:21
Awesome, this is how you can load natives now:
private delegate int GetNetworkStatsImpl(out string text, int len);
[Native("GetNetworkStats")]
private static GetNetworkStatsImpl GetNetworkStats;
By default sampsharp loads all these native declarations in the SampSharp.GameMode library and the entry point library (your game mode)