07.05.2013, 12:37
(
Last edited by Dan..; 04/08/2013 at 12:26 PM.
)
Timerfix
Building
- Windows: Open the samp-plugin-timerfix.sln and hit the `Build` button. Binaries will be located in the bin/ folder and will have the name timerfix.dll.
- Linux: Type in terminal make. Binaries will be located in the bin/ folder and will have the name timerfix.so.
- Move the binaries in the plugins/ folder.
- Write timerfix (Windows) or timerfix.so (Linux) in the server.cfg at the end of the line containing plugins.
- Add the #include <timerfix> at the top of the script only if you want to use additional methods added.
- This plugin fixes the basic timer system existent in SA:MP (SetTimer, SetTimerEx, KillTimer) and GetTickCount.
- This plugin also adds new natives (player timers, which are automatically killed when the player disconnects; there is a hook in the include file), which require `timerfix` include file.
I haven't done any yet.
For downloads please check the downloads branch for anything else check the project on Github.com