13.10.2011, 04:18
Hey,
I have a problem my script is all set up fine XD but for some reason the bot wont connect i load up the FS and script and i get this in server console:
and it wont do anything else
and in my main script i have:
I have a problem my script is all set up fine XD but for some reason the bot wont connect i load up the FS and script and i get this in server console:
Код:
incoming connection 127.0.0.1:64471
pawn Код:
#include <a_npc>
#define RECORDING "Cop1" //This is the filename of your recording without the extension.
#define RECORDING_TYPE 2 //1 for in vehicle and 2 for on foot.
main(){}
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCSpawn()
{
SetMyPos(1537.4364,-1643.1193,13.3943);
StartRecordingPlayback(RECORDING_TYPE, RECORDING);
}
pawn Код:
ConnectNPC("mybot","npcs");