Re: Pawn.CMD - the fastest and most functional command processor -
vannesenn - 16.10.2016
What happend with plugin?
Re: Pawn.CMD - the fastest and most functional command processor -
OKStyle - 19.10.2016
Quote:
Originally Posted by SecretBoss
If you are loading the plugin in a filterscript you must put
Код:
#define FILTERSCRIPT
Before including the Pawn.CMD
|
I don't use plugin in FS, only in Gamemode. FS using OnPlayerCommandText
Re: Pawn.CMD - the fastest and most functional command processor -
Konstantinos - 19.10.2016
Quote:
Originally Posted by OKStyle
I don't use plugin in FS, only in Gamemode. FS using OnPlayerCommandText
|
Any commands from scripts that are not using this plugin will not work.
Re: Pawn.CMD - the fastest and most functional command processor -
OKStyle - 21.10.2016
Very bad. It's must be fixed.
Re: Pawn.CMD - the fastest and most functional command processor -
HydraHumza - 22.10.2016
Question: How we can call a command in a middle of dialog like we can do in zcmd (cmd_test) Is there any way to call that in PAWN.CMD? if there is then how I can?
Re: Pawn.CMD - the fastest and most functional command processor -
SkyLoKi - 22.10.2016
Quote:
Originally Posted by Humza
Question: How we can call a command in a middle of dialog like we can do in zcmd (cmd_test) Is there any way to call that in PAWN.CMD? if there is then how I can?
|
callcmd::mycommand(args...)
Re: Pawn.CMD - the fastest and most functional command processor -
Spmn - 22.10.2016
Quote:
Originally Posted by Humza
Question: How we can call a command in a middle of dialog like we can do in zcmd (cmd_test) Is there any way to call that in PAWN.CMD? if there is then how I can?
|
PC_EmulateCommand
Re: Pawn.CMD - the fastest and most functional command processor -
HydraHumza - 22.10.2016
Quote:
Originally Posted by Spmn
PC_EmulateCommand
|
Please a example with full code how to use it??
Re: Pawn.CMD - the fastest and most functional command processor -
Spmn - 22.10.2016
Quote:
Originally Posted by Humza
Please a example with full code how to use it??
|
Function's header is pretty straight forward:
Код:
PC_EmulateCommand(playerid, "/say hello");
Re: Pawn.CMD - the fastest and most functional command processor -
TORKQ - 24.10.2016
Quote:
Originally Posted by Humza
Question: How we can call a command in a middle of dialog like we can do in zcmd (cmd_test) Is there any way to call that in PAWN.CMD? if there is then how I can?
|
Код HTML:
pc_cmd_test(playerid, params[]);
Will do the work
Re: Pawn.CMD - the fastest and most functional command processor -
ball - 29.11.2016
Код:
[11:52:57] Loading plugin: pawncmd.so
[11:52:57] Pawn.CMD plugin v3.1.2 by urShadow loaded
[11:52:57] Loaded.
[...]
[11:53:02] [debug] Run time error 19: "File or function is not found"
[11:53:02] [debug] PC_RegAlias
[11:53:02] [debug] PC_CommandExists
[11:53:02] [debug] PC_SetFlags
Plugin is loaded, but later it gives errors. This happens on Linux, on Windows everything works.
Re: Pawn.CMD - the fastest and most functional command processor -
BiosMarcel - 24.12.2016
Awesome work man.
Especially the Flags and aliases are very useful.
Re: Pawn.CMD - the fastest and most functional command processor -
Belengher - 12.01.2017
How to convert this to Pawn.Cmd?
Quote:
if(PlayerProfile[playerid]) cmd_profile(playerid, "0");
|
Re: Pawn.CMD - the fastest and most functional command processor -
Duco - 12.01.2017
Quote:
Originally Posted by Belengher
How to convert this to Pawn.Cmd?
|
You can either add a #define workaround or use the Replace feature. As for the #define:
Код:
#define cmd_%0(%1,%2) pc_cmd_%0(%1,%2)
Re: Pawn.CMD - the fastest and most functional command processor -
JaydenJason - 27.01.2017
Quote:
Originally Posted by Belengher
How to convert this to Pawn.Cmd?
|
Код:
if(PlayerProfile[playerid]) callcmd::profile(playerid, "0");
Re: Pawn.CMD - the fastest and most functional command processor -
ISmokezU - 10.02.2017
Is this still the fastest command processor?
Re: Pawn.CMD - the fastest and most functional command processor -
Crayder - 10.02.2017
Quote:
Originally Posted by ISmokezU
Is this still the fastest command processor?
|
Never was meant to really be the fastest, why does top-speed matter? The difference between this and other processors' speeds are so minor it's practically pointless to look for the fastest command processor.
The answer is yes.
Re: Pawn.CMD - the fastest and most functional command processor -
TORKQ - 03.03.2017
I suggest you to add
parameter to
Code:
forward OnPlayerCommandReceived(playerid, cmd[], params[], flags, bool:isalias);
and function GetCmdForAlias(const alias[]) which would return the real cmd[] for given alias[];
Re: Pawn.CMD - the fastest and most functional command processor - SecDet - 15.03.2017
Quote:
Originally Posted by ball
Код:
[11:52:57] Loading plugin: pawncmd.so
[11:52:57] Pawn.CMD plugin v3.1.2 by urShadow loaded
[11:52:57] Loaded.
[...]
[11:53:02] [debug] Run time error 19: "File or function is not found"
[11:53:02] [debug] PC_RegAlias
[11:53:02] [debug] PC_CommandExists
[11:53:02] [debug] PC_SetFlags
Plugin is loaded, but later it gives errors. This happens on Linux, on Windows everything works.
|
What for the linux?
Re: Pawn.CMD - the fastest and most functional command processor -
YouHack - 29.04.2017
Heads UP! I respect you.