samp.directory
← Скрипты и библиотеки

Ramon-Sd/RTimer

Library for easy timer use

Библиотека★ 2обновлён май 2023 г.Без лицензииPawnsampctl
Открыть на GitHub

В этом репозитории нет файла лицензии. Код открыт для чтения, но само по себе это не даёт права использовать его.

Установка через sampctl

sampctl package install Ramon-Sd/RTimer

Выполните в папке проекта. sampctl скачает пакет и его зависимости.

Зависит от 1 пакета

README.md

Library for easy timer use

  1. Installation

  2. Documentation

🚀 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

Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью

Ramon-Sd/RTimer: Библиотека для SA-MP | samp.directory