Jump to content
  • 0

UNDE PUN NATIVES ?


sTk.

Question

Unde pun natives ce le enumera icongnito in prezentarea pluginului streamer ? ... astea

[pawn]Natives

-------

Settings:

native Streamer_TickRate(rate);

native Streamer_MaxItems(type, items);

native Streamer_VisibleItems(type, items);

native Streamer_CellDistance(Float:distance);

native Streamer_CellSize(Float:size);

Updates:

native Streamer_ProcessActiveItems();

native Streamer_ToggleIdleUpdate(playerid, toggle);

native Streamer_Update(playerid);

native Streamer_UpdateEx(playerid, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1);

Data Manipulation:

native Streamer_GetFloatData(type, {Text3D,_}:id, data, &Float:result);

native Streamer_SetFloatData(type, {Text3D,_}:id, data, Float:value);

native Streamer_GetIntData(type, {Text3D,_}:id, data);

native Streamer_SetIntData(type, {Text3D,_}:id, data, value);

native Streamer_GetArrayData(type, {Text3D,_}:id, data, dest[], maxlength = sizeof dest);

native Streamer_SetArrayData(type, {Text3D,_}:id, data, const src[], maxlength = sizeof src);

native Streamer_IsInArrayData(type, {Text3D,_}:id, data, value);

native Streamer_AppendArrayData(type, {Text3D,_}:id, data, value);

native Streamer_RemoveArrayData(type, {Text3D,_}:id, data, value);

native Streamer_GetUpperBound(type);

Miscellaneous:

native Streamer_GetDistanceToItem(Float:x, Float:y, Float:z, type, {Text3D,_}:id, &Float:distance);

native Streamer_IsItemVisible(playerid, type, {Text3D,_}:id);

native Streamer_DestroyAllVisibleItems(playerid, type);

native Streamer_CountVisibleItems(playerid, type);

Objects:

native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 300.0);

native DestroyDynamicObject(objectid);

native IsValidDynamicObject(objectid);

native SetDynamicObjectPos(objectid, Float:x, Float:y, Float:z);

native GetDynamicObjectPos(objectid, &Float:x, &Float:y, &Float:z);

native SetDynamicObjectRot(objectid, Float:rx, Float:ry, Float:rz);

native GetDynamicObjectRot(objectid, &Float:rx, &Float:ry, &Float:rz);

native MoveDynamicObject(objectid, Float:x, Float:y, Float:z, Float:speed, Float:rx = -1000.0, Float:ry = -1000.0, Float:rz = -1000.0);

native StopDynamicObject(objectid);

native IsDynamicObjectMoving(objectid);

native DestroyAllDynamicObjects();

native CountDynamicObjects();

Pickups:

native CreateDynamicPickup(modelid, type, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);

native DestroyDynamicPickup(pickupid);

native IsValidDynamicPickup(pickupid);

native DestroyAllDynamicPickups();

native CountDynamicPickups();

Checkpoints:

native CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);

native DestroyDynamicCP(checkpointid);

native IsValidDynamicCP(checkpointid);

native TogglePlayerDynamicCP(playerid, checkpointid, toggle);

native TogglePlayerAllDynamicCPs(playerid, toggle);

native IsPlayerInDynamicCP(playerid, checkpointid);

native GetPlayerVisibleDynamicCP(playerid);

native DestroyAllDynamicCPs();

native CountDynamicCPs();

Race Checkpoints:

native CreateDynamicRaceCP(type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);

native DestroyDynamicRaceCP(checkpointid);

native IsValidDynamicRaceCP(checkpointid);

native TogglePlayerDynamicRaceCP(playerid, checkpointid, toggle);

native TogglePlayerAllDynamicRaceCPs(playerid, toggle);

native IsPlayerInDynamicRaceCP(playerid, checkpointid);

native GetPlayerVisibleDynamicRaceCP(playerid);

native DestroyAllDynamicRaceCPs();

native CountDynamicRaceCPs();

Map Icons:

native CreateDynamicMapIcon(Float:x, Float:y, Float:z, type, color, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);

native DestroyDynamicMapIcon(iconid);

native IsValidDynamicMapIcon(iconid);

native DestroyAllDynamicMapIcons();

native CountDynamicMapIcons();

3D Text Labels:

native Text3D:CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);

native DestroyDynamic3DTextLabel(Text3D:id);

native IsValidDynamic3DTextLabel(Text3D:id);

native UpdateDynamic3DTextLabelText(Text3D:id, color, const text[]);

native DestroyAllDynamic3DTextLabels();

native CountDynamic3DTextLabels();

Areas:

native CreateDynamicCircle(Float:x, Float:y, Float:size, worldid = -1, interiorid = -1, playerid = -1);

native CreateDynamicRectangle(Float:minx, Float:miny, Float:maxx, Float:maxy, worldid = -1, interiorid = -1, playerid = -1);

native CreateDynamicSphere(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1);

native CreateDynamicCube(Float:minx, Float:miny, Float:minz, Float:maxx, Float:maxy, Float:maxz, worldid = -1, interiorid = -1, playerid = -1);

native CreateDynamicPolygon(Float:points[], Float:minz = -FLOAT_INFINITY, Float:maxz = FLOAT_INFINITY, maxpoints = sizeof points, worldid = -1, interiorid = -1, playerid = -1);

native DestroyDynamicArea(areaid);

native IsValidDynamicArea(areaid);

native TogglePlayerDynamicArea(playerid, areaid, toggle);

native TogglePlayerAllDynamicAreas(playerid, toggle);

native IsPlayerInDynamicArea(playerid, areaid);

native IsPlayerInAnyDynamicArea(playerid);

native IsPointInDynamicArea(areaid, Float:x, Float:y, Float:z);

native IsPointInAnyDynamicArea(Float:x, Float:y, Float:z);

native AttachDynamicAreaToObject(areaid, objectid, type = STREAMER_OBJECT_TYPE_DYNAMIC, playerid = INVALID_PLAYER_ID);

native AttachDynamicAreaToPlayer(areaid, playerid);

native AttachDynamicAreaToVehicle(areaid, vehicleid);

native DestroyAllDynamicAreas();

native CountDynamicAreas();

Extended:

native CreateDynamicObjectEx(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Float:drawdistance = 0.0, Float:streamdistance = 200.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);

native CreateDynamicPickupEx(modelid, type, Float:x, Float:y, Float:z, Float:streamdistance = 100.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);

native CreateDynamicCPEx(Float:x, Float:y, Float:z, Float:size, Float:streamdistance = 100.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);

native CreateDynamicRaceCPEx(type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size, Float:streamdistance = 100.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);

native CreateDynamicMapIconEx(Float:x, Float:y, Float:z, type, color, style, Float:streamdistance = 100.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);

native Text3D:CreateDynamic3DTextLabelEx(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, Float:streamdistance = 100.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);

native CreateDynamicCircleEx(Float:x, Float:y, Float:size, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);

native CreateDynamicRectangleEx(Float:minx, Float:miny, Float:maxx, Float:maxy, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);

native CreateDynamicSphereEx(Float:x, Float:y, Float:z, Float:size, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);

native CreateDynamicCubeEx(Float:minx, Float:miny, Float:minz, Float:maxx, Float:maxy, Float:maxz, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);

native CreateDynamicPolygonEx(Float:points[], Float:minz = -FLOAT_INFINITY, Float:maxz = FLOAT_INFINITY, maxpoints = sizeof points, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);

Callbacks

---------

forward OnDynamicObjectMoved(objectid);

forward OnPlayerPickUpDynamicPickup(playerid, pickupid);

forward OnPlayerEnterDynamicCP(playerid, checkpointid);

forward OnPlayerLeaveDynamicCP(playerid, checkpointid);

forward OnPlayerEnterDynamicRaceCP(playerid, checkpointid);

forward OnPlayerLeaveDynamicRaceCP(playerid, checkpointid);

forward OnPlayerEnterDynamicArea(playerid, areaid);

forward OnPlayerLeaveDynamicArea(playerid, areaid);

Definitions

-----------

#define STREAMER_TYPE_OBJECT (0)

#define STREAMER_TYPE_PICKUP (1)

#define STREAMER_TYPE_CP (2)

#define STREAMER_TYPE_RACE_CP (3)

#define STREAMER_TYPE_MAP_ICON (4)

#define STREAMER_TYPE_3D_TEXT_LABEL (5)

#define STREAMER_TYPE_AREA (6)

#define STREAMER_AREA_TYPE_CIRCLE (0)

#define STREAMER_AREA_TYPE_RECTANGLE (1)

#define STREAMER_AREA_TYPE_SPHERE (2)

#define STREAMER_AREA_TYPE_CUBE (3)

#define STREAMER_AREA_TYPE_POLYGON (4)

#define STREAMER_OBJECT_TYPE_GLOBAL (0)

#define STREAMER_OBJECT_TYPE_PLAYER (1)

#define STREAMER_OBJECT_TYPE_DYNAMIC (2)

Enumerator

----------

enum

{

E_STREAMER_ATTACHED_OBJECT,

E_STREAMER_ATTACHED_PLAYER,

E_STREAMER_ATTACHED_VEHICLE,

E_STREAMER_COLOR,

E_STREAMER_DRAW_DISTANCE,

E_STREAMER_EXTRA_ID,

E_STREAMER_INTERIOR_ID,

E_STREAMER_MAX_X,

E_STREAMER_MAX_Y,

E_STREAMER_MAX_Z,

E_STREAMER_MIN_X,

E_STREAMER_MIN_Y,

E_STREAMER_MIN_Z,

E_STREAMER_MODEL_ID,

E_STREAMER_MOVE_R_X,

E_STREAMER_MOVE_R_Y,

E_STREAMER_MOVE_R_Z,

E_STREAMER_MOVE_SPEED,

E_STREAMER_MOVE_X,

E_STREAMER_MOVE_Y,

E_STREAMER_MOVE_Z,

E_STREAMER_NEXT_X,

E_STREAMER_NEXT_Y,

E_STREAMER_NEXT_Z,

E_STREAMER_PLAYER_ID,

E_STREAMER_R_X,

E_STREAMER_R_Y,

E_STREAMER_R_Z,

E_STREAMER_SIZE,

E_STREAMER_STREAM_DISTANCE,

E_STREAMER_STYLE,

E_STREAMER_TEST_LOS,

E_STREAMER_TYPE,

E_STREAMER_WORLD_ID,

E_STREAMER_X,

E_STREAMER_Y,

E_STREAMER_Z

}[/pawn]

edit: daca incearca cineva sa ma ajute , sa fie clar.. :)

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.