[DUDA] Natives Que Nose para que sirvn de Streamer
#1

Bueno nose para que sirven las siguientes Natives:

Код:
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 = MAPICON_LOCAL, 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);
Es decir yose que esta CreateDynamicObject o mejor dicho todas esas natives pero sin el Ex :S.
Reply
#2

son funciones de este plugin, si lees sobre el mismo, te contestaras solo tu pregunta.
Reply
#3

Yase que son de ese plugin, pero no aparecen ninguna info sobre para que sirven :S.
Reply
#4

Y realmente su nombre no es nada descriptivo verdad?
pawn Код:
CreateDynamicObjectEx//Crea un objecto dinamico (reemplazo de CreateObject)
CreateDynamicPickupEx//Crea un pickup dinamico (reemplazo de CreatePickup)
CreateDynamicCPEx//Crea un checkpoint dinamico (reemplazo de SetPlayerCheckPoint)
CreateDynamicRaceCPEx//Crea un checkpoint de carreras dinamico (reemplazo de SetPlayerRaceCheckPoint)
CreateDynamicMapIconEx//Crea un mapa dinamico (reemplazo de SetPlayerMapIcon)
Text3D:CreateDynamic3DTextLabelEx//crea un 3DTextLabel dinamico (reemplazo de Create3DTextLabel)
CreateDynamicCircleEx//Crea un circulo dinamico(area) (reemplazo de CreateGangZone)
CreateDynamicRectangleEx//Crea un rectangulo dinamico(area) (reemplazo de CreateGangZone)
CreateDynamicSphereEx//Crea una esfera dinamica(area) (reemplazo de CreateGangZone)
CreateDynamicCubeEx//Crea un cubo dinamico(area) (reemplazo de CreateGangZone)
CreateDynamicPolygonEx//Crea un poligono dinamico(area) (reemplazo de CreateGangZone)
Reply
#5

La diferencia es que puedes usar arrays para "playerid", "interiorid" y "worlds", asн puedes hacer visible el objeto en varios interiores (o para varios jugadores/mundos virtuales) sin tener que crear otro.

Por ejemplo:

pawn Код:
CreateDynamicObjectEx(1337, 0.0, 0.0, 0.0, 0.1, 15.0, 180.0, 0.0, 200.0, { -1 }, {0, 7}, {0, 2});

/*
Crea un objeto que solo sera visible en los interiores ID 0 y 7 y para los jugadores con ID 0 y 2 sin importar el mundo virtual en el que estйn.
*/
Antes habia que hacer algo asн:

pawn Код:
CreateDynamicObject(1337, 0.0, 0.0, 0.0, 0.1, 15.0, 180.0, -1, 0, 0);
CreateDynamicObject(1337, 0.0, 0.0, 0.0, 0.1, 15.0, 180.0, -1, 0, 2);
CreateDynamicObject(1337, 0.0, 0.0, 0.0, 0.1, 15.0, 180.0, -1, 7, 0);
CreateDynamicObject(1337, 0.0, 0.0, 0.0, 0.1, 15.0, 180.0, -1, 7, 2);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)