• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Library] cusCMD - Custom Command
#1
Yeah i know it may be useless for you who reliable to speed like Pawn.CMD, but i managed to porting izcmd to this.
You can change prefix or sensitive char....

PHP Code:
#define CUSTOM_CMD "."
#define CMD_SENSITIVE false
#include <cusCMD> 

For command processing you'll changing CMD: to Process:

Here's example code:
PHP Code:
#include <a_samp>

#define CMD_PREFIX ">"
#define CMD_SENSTIVE false

#include <cusCMD>

// Output: >help
Process:help(playeridparams[]) {
? ? 
SendClientMessage(playerid, -1"Yay!");
? ? return 
0;

NOTE: use only special char, otherwise it won't work ( maybe ?\_(?)_/? )

?If you're interested, you can download and test it yourself.
https://pastebin.com/JqeHAGmQ
???? ???? ????? ?? ???????? ???? ?????, ?? ???? ???? ?? ?????? ?? ??? ???? ???? ???? ?? ??? ???? ??? ???? ??? ?? ?? ?????? ??????





  Reply


Forum Jump: