samp.directory
← Scripts et bibliothèques

neiam00/cockmmand

Fastest command processor for SA-MP

Bibliothèque★ 12mis à jour août 2022Pas de licencePawn
Ouvrir sur GitHub

Ce dépôt n’a pas de fichier de licence. Il est public en lecture, mais cela ne donne pas à lui seul le droit de le réutiliser.

L’essayer dans le compilateur Pawn →

Ajoute ses fichiers include, avec les bibliothèques dont il dépend, au compilateur Pawn de ton navigateur, prêts à être inclus dans un script.

README.md

CockMmand

Unleash the full potential of the cock, NOW!
Cockmmand offers the super cock-shenanigans (shenanicocks, yeah!) to trick the SA-MP server to use SUPER-DOOPER-FAST COMMANDS!! And not only that, it also uses all of the COCK POWER!

Benchmarks

By kyro#9315

Support

[email protected]

Usage

Simply, use it like this:

#include <cockmmand>

public OnPlayerCommandText(playerid, cmdtext[])
{
    cockmmand("command_name")
    {
         // command code
    }
    return 1;
}

To add more than one command, we made simple optimization, use:

#include <cockmmand>

public OnPlayerCommandText(playerid, cmdtext[])
{
    cockmmand("command")
    {
        // command code
    }
    cockmmand_multiple("command_2")
    {
        // code
    }
    cockmmand_multiple("command_3")
    {
        // code
    }
    return 1;
}

WARNING! USAGE OUTSIDE OnPlayerCommandText WILL NOT WORK!

Installation

  • Download cockmmand.inc from branch master
  • Place in <path_to_include_folder>/include. Final path should look like this: <path_to_include_folder>/cockmmand.inc.
  • Profit!

Cette page est construite à partir de ce que GitHub publie sur le dépôt. samp.directory n’héberge pas le code. Signaler un problème avec cette fiche

neiam00/cockmmand : Bibliothèque SA-MP | samp.directory