print(f) bug?
#1

Hey,
I tried using print(f) in my NPC scripts but it never printed anything in console... Those scripts works fine but print function doesn't... :S

This is my script:
pawn Код:
public OnPlayerText(playerid, text[])
{
  if (strfind(text, "stupid bot") != -1)
  {
    new string[80], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
        print("testing print func");
    format(string, sizeof(string), "Hey %s! You are so mean, you make me so sad!", name);
    SendChat(string);
  }

}
SendChat works, but print - doesn't...
Reply
#2

The npcs are running on a own proccess. The 'samp-npc.exe' can't print something to the 'samp-server.exe' console(same for linux).
Reply
#3

You can use DebugView (http://technet.microsoft.com/en-us/s.../bb896647.aspx) to see it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)