24.12.2009, 08:34
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:
SendChat works, but print - doesn't...
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);
}
}