Bot Question.
#8

Quote:
Originally Posted by TzAkS.
Посмотреть сообщение
You need to create another vehicle instead of that boat and you will do it like this
Код:
AddStaticVehicle(........);//this is the first vehicle,your boat and you will change it with another vehicle
// another cars
AddStaticVehicle(...);//here you need to put your boat after last line with addstaticvehicle or createvehicle
If you don`t change the first line with AddStaticVehicle all cars will be confused with 1 ID.
WHAT
he said BOT not BOAT




Quote:
Originally Posted by Injectio73
Посмотреть сообщение
Because it has ID 0 ... but i would like to change it to ... 500^^

Other Way? ...
this does not explain WHY you would need todo this, your gonna introduce a ton of
code just to change the ID of a bot?

Not sure if you can connect a bot outside of OnGameModeInit()
but if you can you could probably kick him when a player connected and then re add him,
but if player 10 is joining and player 2 leaves before your bot connects he will get ID 2

its not easy todo and I dont see WHY one would need todo this.
Reply


Messages In This Thread
Bot Question. - by Injectio73 - 06.05.2012, 13:31
Re: Bot Question. - by sleepysnowflake - 06.05.2012, 13:32
AW: Bot Question. - by Injectio73 - 06.05.2012, 13:33
AW: Bot Question. - by Injectio73 - 06.05.2012, 15:15
Re: Bot Question. - by Kyle - 06.05.2012, 16:13
AW: Bot Question. - by Injectio73 - 06.05.2012, 16:30
Re: Bot Question. - by TzAkS. - 06.05.2012, 16:55
Re: Bot Question. - by Jonny5 - 06.05.2012, 17:00
Re: Bot Question. - by TzAkS. - 06.05.2012, 17:10
AW: Re: Bot Question. - by Injectio73 - 06.05.2012, 17:29

Forum Jump:


Users browsing this thread: 1 Guest(s)