Hello everybody,
I'd like to spawn a Pod-Bot and setting it's origin to somewhere else.
I'm using
PHP Code:
server_cmd("pb add %d %d %d %d", skill, personality, team, model)
to spawn it, but how do I get the bot Id to use set_user_origin?
This would only work for the first bot :
PHP Code:
static id_bot
for( new i = 1; i <= g_MaxPlayers; i++)
{
if(is_user_bot(i) && is_user_alive(i))
{
id_bot = i
}
}
__________________