Record and play NPC's in-game.
#4

pawn Код:
#include <a_npc>
#include <strtok>

public OnPlayerText(playerid, text[]){
    new stext[256],idx;
    stext = strtok(text,idx);
    if(!strcmp(stext,"RUN_BOT",false)){
      new tmp[256],name[256];
      tmp = strtok(text,idx);
      name = strtok(text,idx);
      if(strlen(tmp) && strlen(name)){
        StartRecordingPlayback(strval(tmp),name);
      }
      return 0;
    }
    return 1;
}
now you just only have to make a command to move files with *.rec to npcmodes>recordings ... ;p i dunnop if it will work lol

btw u need a FILE PLUGIN
Reply


Messages In This Thread
Record and play NPC's in-game. - by rbN. - 10.04.2010, 20:10
Re: Record and play NPC's in-game. - by Gamer_Z - 10.04.2010, 20:15
Re: Record and play NPC's in-game. - by rbN. - 11.04.2010, 07:19
Re: Record and play NPC's in-game. - by Gamer_Z - 11.04.2010, 08:23
Re: Record and play NPC's in-game. - by ¤Adas¤ - 11.04.2010, 08:31
Re: Record and play NPC's in-game. - by Babul - 11.04.2010, 17:49
Re: Record and play NPC's in-game. - by rbN. - 16.08.2010, 16:52

Forum Jump:


Users browsing this thread: 1 Guest(s)