Люди вот кое откуда взял скрипт бота!
Проверьте рабочей ли!
Просто на 1 серваке рабочий
А я вставлять не умею через pwn!
ОТпишитесь как боты умные?
// Main //
new botid = CreateBot();
Code:
// Spawn //
SetBotSpawnPos(botid, x, y, z);
SpawnBot(botid);//spawns a bot
SetPlayerSkin(botid, skinid);
SetPlayerPos(botid, x, y, z);
SetPlayerName(botid, str_name);
PutPlayerInVehicle(botid, vehicleid);
GivePlayerWeapon(botid, weaponid, ammo);
Code:
// State //
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
BotSwitchWeapon(botid, weaponslot);//makes a bot to select a desired weapon
Code:
// Enter Vehicle //
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.
Code:
// ExiT vehicle //
BotLeaveVehicle(botid);//leaving a vehicle with animation
Code:
// I dont Know //
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();