Help me, please
#1

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]);
            }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)