1) Можно ли сделать так,чтобы несколько машин ездили по точкам? я хочу сделать район призраков машин.
2) Помогите пожалуйста разобраться с этим скриптом:
new botid = CreateBot();
SetBotSpawnPos(botid, x, y, z);
SpawnBot(botid);//spawns a bot
//a bot is like a player in some aspects:
SetPlayerSkin(botid, skinid);
SetPlayerPos(botid, x, y, z);
SetPlayerName(botid, str_name);
PutPlayerInVehicle(botid, vehicleid);
GivePlayerWeapon(botid, weaponid, ammo);
//... — all other applicable functions
//bot-specific functions
BotGoToPos(botid, x, y, z);//makes a bot walk to a position
BotRunToPos(botid, x, y, z);//makes a bot run to a position
BotJump(botid);//if a bot stood well, it would do right; however I don't think it can be implemented
BotEnterVehicle(botid, vehicleid, seatid);//entering a vehicle with animation
//Driving a vehicle seems to be complicated, thus it can be quietly skipped in the implementation.
//Driving as a driver is useless in general, driving by a passenger is simple and enough.
//Shooting from a passenger seat is appreciated but not so very important.
BotLeaveVehicle(botid);//leaving a vehicle with animation
BotSwitchWeapon(botid, weaponslot);//makes a bot to select a desired weapon
BotTargetToPoint(botid, x, y, z, angular_accuracy);//makes bot continuously targeting to a point to shoot then
BotTargetReset(botid);//stop targeting
BotBeginShooting(botid);
BotEndShooting(botid);
//Applicable callbacks
OnPlayerSpawn();
OnPlayerDeath();
OnPlayerEnter\ExitVehicle();
OnPlayerStateChange();
OnPlayerEnter\LeaveCheckpoint();
OnPlayerEnter\LeaveRaceCheckpoint();
OnPlayerPickUpPickup();