View Single Post
shauli
Member
Join Date: Jun 2018
Old 06-22-2018 , 18:24   Re: Crash when creating a bot
Reply With Quote #25

Quote:
Originally Posted by marcelowzd View Post
Tbh i didn't understand at all what this code does, but for some reason after inserting this the bot appeared (He is finally visible). . I believed that creating and spawning him was enough. Thank you for everything,
NP my friend.
Basically I've added a register for the StartFrame forward and added EngFunc_RunPlayerMove.
This makes your fake player "alive", gives him rate, etc. Without it he will still be on the server but he won't be moving and everything because he doesn't have a framerate.

Last edited by shauli; 06-22-2018 at 18:26.
shauli is offline