Create Ingame Bots?? And Then play them ingame?
#3

You mean this?
Code:
if (strcmp("/rb", cmdtext, true, 10) == 0)
{
tmp = strtok(cmdtext,idx);
if(!tmp[0])return SendClientMessage(playerid,ROT,"Use: /rb [Name]");
if(newstate == 2){
StartRecordingPlayerData(playerid, PLAYER_RECORDING_TYPE_DRIVER, tmp);
  SendClientMessage(playerid, 0xFFFFFFFF, "Type: Vehicle : Record Start");
}
else if(newstate == 1){
StartRecordingPlayerData(playerid, PLAYER_RECORDING_TYPE_ONFOOT,tmp);
  SendClientMessage(playerid, 0xFFFFFFFF, "Typ: On Foot : Record Start");
  }
  return 1;
}
if (strcmp("/pb", cmdtext, true, 10) == 0)
{
new tmp[64];
tmp = strtok(cmdtext,idx);
if(!tmp[0])return SendClientMessage(playerid,ROT,"Use: /pb [Name]");
ConnectNPC(tmp,"BotFS");
}
Reply


Messages In This Thread
Create Ingame Bots?? And Then play them ingame? - by asdfgh98 - 15.12.2009, 15:06
Re: Create Ingame Bots?? And Then play them ingame? - by Naruto4 - 15.12.2009, 15:30
Re: Create Ingame Bots?? And Then play them ingame? - by asdfgh98 - 16.12.2009, 12:30

Forum Jump:


Users browsing this thread: 2 Guest(s)