14.07.2013, 15:45
Hello great community, I have a problem with a command that hise is / fakecmd. Everything works fine but when attaching / fakecmd ID, send the fakecmd to id 0 (is an NPC), how I can fix?
pawn Код:
if(sscanf(params, "us[64]", params[0], params[1])) return SendClientMessage(playerid, COLOR_GREY, "/fakecmd [playerid] [cmd]");
if(IsPlayerConnected(params[0]))
{
CallRemoteFunction("OnPlayerCommandText", "is", params[0], params[1]);
}

