[Ayuda] Con NPC
#10

Eso esta en mi npcmode

pawn Код:
#define RECORDING "vendedor"
#define RECORDING_TYPE 2 // 1 = si esta en Vehiculos - 2 = si esta Caminando

#include <a_npc>
main(){}
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCExitVehicle() StopRecordingPlayback();

public OnPlayerText(playerid, text[])
{
  if (strfind(text, "stupid bot") != -1)
  {
    new string[80], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));

    SendCommand("/kill");
    format(string, sizeof(string), "Hey %s! You are so mean, you make me so sad!", name);
    SendChat(string);
  }
  return 1;
}
Reply


Messages In This Thread
[Ayuda] Con NPC - by Andres_Garcia - 28.04.2010, 05:32
Re: [Ayuda] Con NPC - by nymphi - 28.04.2010, 06:57
Re: [Ayuda] Con NPC - by RcoN! - 28.04.2010, 07:22
Re: [Ayuda] Con NPC - by Andres_Garcia - 28.04.2010, 15:28
Re: [Ayuda] Con NPC - by [SRG]Toxic_Racer - 28.04.2010, 21:19
Re: [Ayuda] Con NPC - by Andres_Garcia - 28.04.2010, 23:23
Re: [Ayuda] Con NPC - by [SRG]Toxic_Racer - 29.04.2010, 00:20
Re: [Ayuda] Con NPC - by Andres_Garcia - 29.04.2010, 00:24
Re: [Ayuda] Con NPC - by [SRG]Toxic_Racer - 29.04.2010, 00:46
Re: [Ayuda] Con NPC - by Andres_Garcia - 29.04.2010, 01:02

Forum Jump:


Users browsing this thread: 1 Guest(s)