Before further diving in to script details, I’ve made few adjustments to the KNOB’s AI mechanic script and I would like thank him for his AI mechanic script.
AI Doktor is a script that can be activated with a simple command when you are dead. When you are lying on the ground if you type /aimedic a npc doctor spawns near you and revives you.
Features:
If there are 2 or more doctors in the game /aimedic does not work.(The reason for that is not to role block or further restrict the doctors in the game)
ClearPedTasksImmeddiately(player) has become operational otomatically in order to overcome a bug which makes a player to change location after an vital incident.
Download:
Preview:
Thanks.
Türklere ayrıca selam olsun.
VERSION V2.0 UPDATE
Added price for treatment. Price paid player to ambulance society bank.
Remove AI Doktor vehicles and you can use everywhere now.
With your comment I realized that I haven’t updated the 2 doctor option in config.lua and immidiately updated on GitHub
If 1 doctor is present it works but you can change this at ‘config.lua line 5’. Line 5 contains amount of doctors needed to cancel the command, 2,1 your choice.
Need to do a hard reboot then… When I did a soft reboot on the script it did the same, once I shut the server down, and started it up, worked perfectly fine for me