23.06.2016, 12:02
Update v1.9:
- Added Extended Functions:
- Added Callbacks:
- Fixed identification mine between scripts
- Added additional param for CreateDynamicMine and CreateDynamicMineEx
- Changed value INVALID_MINE_ID from -1 to 0
- Now support for MoveDynamicObject(GetMineObjectID(mobid),...); and another streamer function
- Added Extended Functions:
PHP код:
ForceRespawnDynamicMine(mobid);
CountDynamicMines();
GetMineObjectID(mobid);
GetMineAreaID(mobid);
GetDynamicMinePos(mobid,&Float:x,&Float:y,&Float:z);
SetDynamicMinePos(mobid,Float:x,Float:y,Float:z);
GetDynamicMineRot(mobid,&Float:rx,&Float:ry,&Float:rz);
SetDynamicMineRot(mobid,Float:rx,Float:ry,Float:rz);
GetDynamicMineDetectionRange(mobid,&Float:detection_range);
SetDynamicMineDetectionRange(mobid,Float:detection_range);
GetDynamicMineExplodeRadius(mobid,&Float:explode_radius);
SetDynamicMineExplodeRadius(mobid,Float:explode_radius);
GetDynamicMineHealth(mobid,&Float:health);
SetDynamicMineHealth(mobid,Float:health);
GetDynamicMineMaxHealth(mobid,&Float:health);
SetDynamicMineMaxHealth(mobid,Float:health);
GetDynamicMineVW(mobid);
SetDynamicMineVW(mobid,worldid);
GetDynamicMineINT(mobid);
SetDynamicMineINT(mobid,interiorid);
GetDynamicMineSD(mobid,&Float:streamdistance);
SetDynamicMineSD(mobid,Float:streamdistance);
GetDynamicMineTeam(mobid);
SetDynamicMineTeam(mobid,teamid);
GetDynamicMineType(mobid);
SetDynamicMineType(mobid,type);
GetDynamicMineRespawntime(mobid);
SetDynamicMineRespawntime(mobid,respawntime);
PHP код:
OnMineDetectPlayer(playerid,mobid);
- Added additional param for CreateDynamicMine and CreateDynamicMineEx
PHP код:
detect_type - specify which elements are to be detected (MINE_DETECT_TYPE_ALL / MINE_DETECT_TYPE_PLAYER / MINE_DETECT_TYPE_VEHICLE)
- Now support for MoveDynamicObject(GetMineObjectID(mobid),...); and another streamer function