SA-MP Forums Archive
[Plugin] Pawn.CMD - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] Pawn.CMD (/showthread.php?tid=608474)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


Re: Pawn.CMD - YourShadow - 01.02.2018

PC_EmulateCommand(playerid, "/cmdtest");


Re: Pawn.CMD - Kaperstone - 05.05.2018

Unfortunately, this plugin is incompatible with JIT, as if you use this with JIT, the commands mess up
https://www.youtube.com/watch?v=IddjXcBm8j4


Will it be possible to make it compatible?


Re: Pawn.CMD - Uberanwar - 06.05.2018

Quote:
Originally Posted by Kaperstone
Посмотреть сообщение
Unfortunately, this plugin is incompatible with JIT, as if you use this with JIT, the commands mess up
https://www.youtube.com/watch?v=IddjXcBm8j4
Will it be possible to make it compatible?
I use JIT along with this plugin and no problems at all


Re: Pawn.CMD - Kaperstone - 06.05.2018

Quote:
Originally Posted by Uberanwar
Посмотреть сообщение
I use JIT along with this plugin and no problems at all
What version of JIT do you use.


Re: Pawn.CMD - Uberanwar - 06.05.2018

Quote:
Originally Posted by Kaperstone
Посмотреть сообщение
What version of JIT do you use.
The latest one, 2.2. Maybe try to change the plugin order? jit should be in the first line of plugins in server.cfg.


Re: Pawn.CMD - AndreiWow - 04.06.2018

How do you call a Pawn.CMD command from another command?

Found already
PHP код:
PC_EmulateCommand(playerid"/command"); 



Re: Pawn.CMD - AndreiWow - 08.06.2018

PHP код:
alias:createobject("cobj""cobject"); 
gives error

PHP код:
error 010invalid function or declaration 



Re: Pawn.CMD - DeadBrain - 08.06.2018

To call use callcmd:cmdname(playerid,params[])


Re: Pawn.CMD - Logic_ - 08.06.2018

Quote:
Originally Posted by AndreiWow
Посмотреть сообщение
PHP код:
alias:createobject("cobj""cobject"); 
gives error

PHP код:
error 010invalid function or declaration 
I don't think it can be because of conflicting with CreateObject. Correct me if I'm wrong.


Re: Pawn.CMD - BanSilog - 12.06.2018

Nice Bro


Re: Pawn.CMD - EvaBaka - 29.06.2018

when an update


Re: Pawn.CMD - Mopok - 20.07.2018

Is there are difference between return 1 and return 0 ?


Re: Pawn.CMD - Zeth - 20.07.2018

Quote:
Originally Posted by Mopok
Посмотреть сообщение
Is there are difference between return 1 and return 0 ?
return 0 will not perform the command and return 1 will. (1 - True | 0 - False)


Re: Pawn.CMD - YourShadow - 23.07.2018

Updated to 3.2.0.


Re: Pawn.CMD - Danisoni - 01.08.2018

Included in script, added in plugins row, but commands don't work, no errors, no server-log outputs, i enter command and nothing happening.
Any fix?


Re: Pawn.CMD - t9ndep - 01.08.2018

Does Pawn.CMD support 0.3.DL?


Re: Pawn.CMD - Ivan_Ino - 01.08.2018

It does


Re: Pawn.CMD - maxisaibot - 02.08.2018

Quote:
Originally Posted by Danisoni
Посмотреть сообщение
Included in script, added in plugins row, but commands don't work, no errors, no server-log outputs, i enter command and nothing happening.
Any fix?
same problem. i using centos7, plugin 3.2.0


Re: Pawn.CMD - YourShadow - 02.08.2018

Try 3.1.4.


Re: Pawn.CMD - Romero837 - 07.09.2018

How could I put restrictions on commands, that is, in an event system, if I enter the event I can not use the command, I already have the variable bool. But if I use / salirevento I'll come out of it. I'm using Pawn.CMD and I really did not find help.

I tried to use this code in OnPlayerCommandReceive but not works, and in OnPlayerCommandText works but the excepcion not works with /salirevento.


Код:
public OnPlayerCommandReceived(playerid, cmd[], params[], flags)  //Not works 
{
    if(CmdBloq5[playerid] == 1)
    {
	    PlayerPlaySound(playerid,1140,0.0,0.0,0.0);
	    GameTextForPlayer(playerid,"~n~~p~Estas en un ~r~Evento ~n~~w~usa /Salirevento",3000,3);
	    return 1;
	}
}

public OnPlayerCommandText(playerid, cmdtext[])  //Not works
{
    if(CmdBloq5[playerid] == 1)
    {
	    PlayerPlaySound(playerid,1140,0.0,0.0,0.0);
	    GameTextForPlayer(playerid,"~n~~p~Estas en un ~r~Evento ~n~~w~usa /Salirevento",3000,3);
	    return 1;
    }
}