01.02.2018, 16:18
PC_EmulateCommand(playerid, "/cmdtest");
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? |
PC_EmulateCommand(playerid, "/command");
alias:createobject("cobj", "cobject");
error 010: invalid function or declaration
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; } }