ayuda, con bots
#2

pawn Код:
public OnPlayerText(playerid, text[])
{
  if (strfind(text, "stupid bot") != -1)
  {
    new string[80], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "Hey %s! Don't say those things! We, bots, are cool!", name);
    SendChat(string);
  }
  return 1;
}
Йsto va en el script del npc, "a_npc" sуlo se puede usar en esos scripts.
Reply


Messages In This Thread
ayuda, con bots - by [SRG]Toxic_Racer - 20.02.2010, 21:05
Re: ayuda, con bots - by Zoutdaxv - 20.02.2010, 21:13
Re: ayuda, con bots - by [SRG]Toxic_Racer - 20.02.2010, 21:33
Re: ayuda, con bots - by Zoutdaxv - 20.02.2010, 21:40
Re: ayuda, con bots - by [SRG]Toxic_Racer - 20.02.2010, 22:47
Re: ayuda, con bots - by D[4]rkNet - 20.02.2010, 23:01
Respuesta: ayuda, con bots - by vangel - 04.11.2010, 03:25
Re: ayuda, con bots - by SuperMarioRol - 04.11.2010, 18:05

Forum Jump:


Users browsing this thread: 1 Guest(s)