22.08.2017, 13:24
Update v1.1.0:
- Blocking moving on water
- Fixed
- Fixed Z synchronization
- Added texture for dead animal
- Fixed forward angle for COW
- Fixed wall detection
- Added an escaped animal, the speed will be increased 10 times for 30 seconds after player shot
- Added functions:
- Blocking moving on water
- Fixed
PHP код:
Hunting::Destroy(mobid); //destroing moving area ???
- Added texture for dead animal
- Fixed forward angle for COW
- Fixed wall detection
- Added an escaped animal, the speed will be increased 10 times for 30 seconds after player shot
- Added functions:
PHP код:
Hunting::ToggleMoving(mobid,toggle);
Hunting::IsToggledMoving(mobid);
Hunting::Stop(mobid);
Hunting::GoTo(mobid,Float:x,Float:y,bool:area_check=true,bool:disable_moving=false);
Hunting::GetHealth(mobid);
Hunting::SetHealth(mobid,Float:health);
Hunting::GetSpawnHealth(mobid);
Hunting::SetSpawnHealth(mobid,Float:health);
Hunting::GetRespawnTime(mobid);
Hunting::SetRespawnTime(mobid,respawntime);
Hunting::IsValid(mobid);
Hunting::IsSpawned(mobid);
Hunting::IsDead(mobid);
Hunting::GetSpawn(mobid,&Float:x,&Float:y,&Float:z);
Hunting::SetSpawn(mobid,Float:x,Float:y,Float:z);
Hunting::GetInterior(mobid);
Hunting::SetInterior(mobid,interiorid);
Hunting::GetVirtualWorld(mobid);
Hunting::SetVirtualWorld(mobid,worldid);
Hunting::GetSpeed(mobid);
Hunting::SetSpeed(mobid,Float:speed);
