Thank you ! ;D ;D ;D
Re: create bots with this plugin
« Reply #75, »
Hello :-\ :-\ :-\
Why does my console crash :-[
-847 function onPlayingCompleted( recordedFileName, actor id )
-848 {
-849 PlayFile(MEGAMIND, 1);
-850 }
onPlayingCompleted( recordedFileName, actor id )
function onPlayingCompleted(file,actorid)
{
PlayFile(file, actorid);
}
i tried puttin the playfile function in onscriptload but its doesnt work until i type /mega to play it :P
-847 function onPlayingCompleted( recordedFileName, actor id )
-848 {
-849 PlayFile(MEGAMIND, 1); <---- HERE
-850 }
Quote from MEGAMIND on September 12th, 2020, 05:18 PM i tried puttin the playfile function in onscriptload but its doesnt work until i type /mega to play it :PMEGAMIND isn't defined as a variable or constant anywhere, use "MEGAMIND" (string)Code: [Select] -847 function onPlayingCompleted( recordedFileName, actor id )
-848 {
-849 PlayFile(MEGAMIND, 1); <---- HERE
-850 }
btw, i had made a video.
https://youtu.be/X_lrHyKzQ-0
actor64.dll
Commands: /rec -->start recording
/x ----> Stop recording
/play -----> play last recording.
output will be saved as a file with name=player name in server directory.
The port,.. Port of the server. Is it 8192?
Or you have to set it by 'set_port'