Dieses Repository hat keine Lizenzdatei. Es ist öffentlich lesbar, aber das allein gibt noch keine Erlaubnis, es weiterzuverwenden.
Mit sampctl installieren
sampctl package install Ramon-Sd/RTimer
Führe das in deinem Projektordner aus. sampctl lädt das Paket und alles herunter, wovon es abhängt.
Fügt seine Include-Dateien samt der Bibliotheken, von denen es abhängt, dem Pawn-Compiler in deinem Browser hinzu, bereit zum Einbinden in ein Skript.
Hängt von 1 Paket ab
README.md
Library for easy timer use
🚀 Installation
You can install the "RTimer" library in two ways:
- Using sampctl: You can install the library using the sampctl package manager. Simply run the following command in the terminal:
sampctl package install Ramon-Sd/RTimer
- Using Git: You can clone the library's Git repository and manually add it to your project. Run the following command in the terminal:
git clone https://github.com/Ramon-Sd/RTimer.git
Then, include the "RTimer.inc" include file in your code:
#include "RTimer.inc"
☕ Documentation
Functions
- ...
Callbacks
- ...
Example
#include "RTimer.inc"
DefTimer:PrintTest() {
printf("Test");
return 1;
}
public OnGameModeInit() {
Timer_Set("PrintTest", 1000, true);
return 1;
}
public OnGameModeExit() {
Timer_Kill("PrintTest");
return 1;
}
main() {
printf("RTimer -> Test Script : Started!");
return 0;
}
This project is licensed. See the LICENSE file for more details.
easy-to-useincludelibraryopen-mppacakgesa-mpsa-mp-librarysa-mp-serversampctlsan-andreas-multiplayertimer
Diese Seite wird aus dem erstellt, was GitHub über das Repository veröffentlicht. samp.directory hostet den Code nicht. Ein Problem mit diesem Eintrag melden