21.08.2017, 16:06
Update v2.1.0:
- Added support for CreateDynamicExplosionDMG (now mine auto detect player death)
- Added support for Streamer Tags
- Updated functions:
- Added extended functions:
- Added macro for loop
- Fixed callback
- Added support for CreateDynamicExplosionDMG (now mine auto detect player death)
- Added support for Streamer Tags
- Updated functions:
Код:
CreateDynamicMine(type,Float:detection_range,Float:explode_radius,Float:health,respawntime,Float:x,Float:y,Float:z, worldid,interiorid,playerid,Float:streamdistance,mine_object = MINE_OBJECT_STANDARD,teamid = ANY_TEAM, detect_type = MINE_DETECT_TYPE_ALL,byplayerid = INVALID_PLAYER_ID,Float:damage=-1.0,Float:vehicle_damage=-1.0); CreateDynamicMineEx(objectid,type,Float:detection_range,Float:explode_radius,Float:health,respawntime,Float:x,Float:y,Float:z, Float:rx,Float:ry,Float:rz,worldid,interiorid,playerid,Float:streamdistance,teamid = ANY_TEAM, detect_type = MINE_DETECT_TYPE_ALL,byplayerid = INVALID_PLAYER_ID,Float:damage=-1.0,Float:vehicle_damage=-1.0); //if damage is -1 mine generated standard DynamicExplosion without DMG system //if vehicle damage is -1 and damage is not -1, vehicle damage now is 750
PHP код:
Float:GetDynamicMineDamage(mobid);
SetDynamicMineDamage(mobid,Float:damage);
Float:GetDynamicMineVehicleDamage(mobid);
SetDynamicMineVehicleDamage(mobid,Float:damage);
PHP код:
Mine_Update(variable);
PHP код:
OnMineDestroy - call to all scripts