pawn Код:
/****************
CountAreas
****************/
native CountDynamicPolygons();
native CountDynamicCubes();
native CountDynamicSpheres();
native CountDynamicRectangles();
native CountDynamicCircles();
/*****************
Objects
*****************/
native GetDynamicObjectModel(objectid);
native SetDynamicObjectModel(objectid, modelid);
native GetDynamicObjectStreamParams(objectid, &worldid, &interiorid, &playerid);
native SetDynamicObjectStreamParams(objectid, worldid = -1, interiorid = -1, playerid = -1);
native Float:GetDynamicObjectStreamDistance(objectid);
native Float:GetDynamicObjectDrawDistance(objectid);
native SetDynamicObjectStreamDistance(objectid, Float:streamdistance);
native SetDynamicObjectDrawDistance(objectid, Float:drawdistance);
native IsPlayerInRangeOfDynamicObject(playerid, objectid, Float:radi = 5.0);
native IsDynamicObjectInRangeOfPoint(objectid, Float:x, Float:y, Float:z, Float:radi = 5.0);
native GetNearestObjectFromObject(objectid, Float:radi = 0.3);
native GetNearestObjectFromVehicle(objectid, vehicleid, Float:radi = 1.0);
native GetNearestObjectFromPlayer(objectid, playerid, Float:radi = 0.5);
native GetNearestObjectFromPickup(objectid, pickupid, Float:radi = 1.0);
/*****************
Pickups
*****************/
native GetDynamicPickupPos(pickupid, &Float:x, &Float:y, &Float:z);
native SetDynamicPickupPos(pickupid, Float:x, Float:y, Float:z);
native GetDynamicPickupType(pickupid);
native SetDynamicPickupType(pickupid, type);
native GetDynamicPickupStreamParams(pickupid, &worldid, &interiorid, &playerid);
native SetDynamicPickupStreamParams(pickupid, worldid = -1, interiorid = -1, playerid = -1);
native GetDynamicPickupModel(pickupid);
native SetDynamicPickupModel(pickupid, modelid);
native Float:GetDynamicPickupStreamDistance(pickupid);
native SetDynamicPickupStreamDistance(pickupid, Float:strdistance);
native IsPlayerInRangeOfDynamicPickup(playerid, pickupid, Float:range = 3.0);
native IsDynamicPickupInRangeOfPoint(pickupid, Float:x, Float:y, Float:z, Float:range = 3.0);
/******************
Checkpoints
******************/
native GetDynamicCPPos(checkpointid, &Float:x, &Float:y, &Float:z);
native SetDynamicCPPos(checkpointid, Float:x, Float:y, Float:z);
native Float:GetDynamicCPSize(checkpointid);
native SetDynamicCPSize(checkpointid, Float:size);
native GetDynamicCPStreamParams(checkpointid, &worldid, &interiorid, &playerid);
native SetDynamicCPStreamParams(checkpointid, worldid = -1, interiorid = -1, playerid = -1);
native Float:GetDynamicCPStreamDistance(checkpointid);
native SetDynamicCPStreamDistance(checkpointid, Float:streamdistance);
native IsDynamicObjectInRangeOfCP(objectid, checkpointid, Float:range = 5.0);
native IsDynamicCPInRangeOfPoint(checkpointid, Float:x, Float:y, Float:z, Float:range = 5.0);
/**********************
Race checkpoints
**********************/
native GetDynamicRaceCPType(checkpointid);
native SetDynamicRaceTPType(checkpointid, type);
native GetDynamicRCPPos(checkpointid, &Float:x, &Float:y, &Float:z);
native GetDynamicRCPNextPos(checkpointid, &Float:x, &Float:y, &Float:z);
native SetDynamicRCPPos(checkpointid, Float:x, Float:y, Float:z);
native SetDynamicRCPNextPos(checkpointid, Float:x, Float:y, Float:z);
native Float:GetDynamicRCPSize(checkpointid);
native SetDynamicRCPSize(checkpointid, Float:size);
native GetDynamicRCPStreamParams(checkpointid, &worldid, &interiorid, &playerid);
native SetDynamicRCPStreamParams(checkpointid, worldid = -1, interiorid = -1, playerid = -1);
native Float:GetDynamicRCPStreamDistance(checkpointid);
native SetDynamicRCPStreamDistance(checkpointid, Float:streamdistance);
There are currently 53.