Jump to content

Diabolik

Membru
  • Posts

    716
  • Joined

  • Last visited

Everything posted by Diabolik

  1. STAF: Iti dai seama ca ai deschis un topic mort de 7 luni , data viitoare mai uitete si tu la data ultimului post si ai grija.
  2. Streamer Plugin v2.6.1 Link original: http://forum.sa-mp.com/showthread.php?t=102865 Acest plugin este pentru obiecte, pickup-uri, checkpoint-uri, checkpoint-uri curse, icoane mapa, si texte etichete 3D (3D text labels). Noutati: Added AttachCameraToDynamicObject Added AttachDynamicObjectToVehicle Added EditDynamicObject Added OnPlayerEditDynamicObject Added OnPlayerSelectDynamicObject Added GetDynamicObjectMaterial and SetDynamicObjectMaterial Added GetDynamicObjectMaterialText and SetDynamicObjectMaterialText Fixed IsPlayerInDynamicRaceCP Removed IsPlayerNPC checks from include file Added Streamer_ToggleItemUpdate 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_ATTACH_OFFSET_X, E_STREAMER_ATTACH_OFFSET_Y, E_STREAMER_ATTACH_OFFSET_Z, E_STREAMER_ATTACH_R_X, E_STREAMER_ATTACH_R_Y, E_STREAMER_ATTACH_R_Z, E_STREAMER_ATTACH_X, E_STREAMER_ATTACH_Y, E_STREAMER_ATTACH_Z, 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 } Natives Settings: native Streamer_TickRate(rate); native Streamer_MaxItems(type, items); native Streamer_VisibleItems(type, items); native Streamer_CellDistance(Float:streamdistance); native Streamer_CellSize(Float:size); Updates: native Streamer_ProcessActiveItems(); native Streamer_ToggleIdleUpdate(playerid, toggle); native Streamer_ToggleItemUpdate(playerid, type, 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); Objects: native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.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 AttachCameraToDynamicObject(playerid, objectid); native AttachDynamicObjectToVehicle(objectid, vehicleid, Float:offsetx, Float:offsety, Float:offsetz, Float:rx, Float:ry, Float:rz); native EditDynamicObject(playerid, objectid); native GetDynamicObjectMaterial(objectid, materialindex, &modelid, txdname[], texturename[], &materialcolor, maxtxdname = sizeof txdname, maxtexturename = sizeof texturename); native SetDynamicObjectMaterial(objectid, materialindex, modelid, txdname[], texturename[], materialcolor = 0); native GetDynamicObjectMaterialText(objectid, materialindex, text[], &materialsize, fontface[], &fontsize, &bold, &fontcolor, &backcolor, &textalignment, maxtext = sizeof text, maxfontface = sizeof fontface); native SetDynamicObjectMaterialText(objectid, materialindex, const text[], materialsize = OBJECT_MATERIAL_SIZE_256x128, const fontface[] = "Arial", fontsize = 24, bold = 1, fontcolor = 0xFFFFFFFF, backcolor = 0, textalignment = 0); 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(); 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 GetDynamic3DTextLabelText(Text3D:id, text[], maxlength = sizeof text); 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 OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz); forward OnPlayerSelectDynamicObject(playerid, objectid, modelid, Float:x, Float:y, Float:z); 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); Instructiuni de instalare: La inceput creati un folder cu numele plugins in serverul vostru, daca nu exista. Copiati in el fisierul streamer.dll daca aveti Windows, sau streamer.so daca aveti Linux. Adaugati in server.cfg linia plugins streamer daca aveti Windows, sau linia plugins streamer.so daca aveti Linux. Cam atat. Acum adaugati callback-urile si nativele in scriptul vostru. Fiti atenti si uitati-va in lista de mai sus cum sunt ca sa le folositi corect, si nu modificati doar numele lor din scriptul tau cu celelalte. Download (v2.6.1) http://code.google.com/p/samp-streamer-plugin/downloads/list?q=label:0.3e Note: Daca folosesti Windws-ul, trebuie sa aveti instalat Microsoft NET. Framework 4.0 sau mai mare. Veti avea nevoie de convertirea liniilor obiectelor. Intrati aici: http://convertffs.com/
  3. Team pus la credite cred ca nu este nici o suparare ca ?eam luat sloganul.
  4. T.C Link-ul nu mai merge , dami pm cand vrei sa pui alt link de download Darky.
  5. 2.5 este foarte usor sa pui 2 comenzi intr-un FS.
  6. Multumesc , dar acum am alta eroare: (2619) : error 052: multi-dimensional arrays must be fully initialized Linia 2619 : }; Care este in functia asta: new Peds[89][1] = { {1}, {2}, {3}, {7}, {10}, {14}, {15}, {16}, {18}, {20}, {23}, {27}, {28}, {29}, {31}, {32}, {33}, {34}, {36}, {37}, {38}, {39}, {44}, {45}, {49}, {50}, {51}, {53}, {58}, {60}, {62}, {64}, {72}, {73}, {75}, {78}, {79}, {81}, {82}, {85}, {87}, {88}, {89}, {91}, {92}, {95}, {96}, {97}, {101}, {134}, {139}, {146}, {152}, {155}, {159}, {162}, {170}, {182}, {183}, {197}, {203}, {204}, {210}, {217}, {230}, {231}, {237}, {238}, {242}, {250} };
  7. Frumos 10/10 e bun pentru ziua pacalelilor [1 aprilie]
  8. 2.5/5 pentru ca este usor sa faci cateva SCM si cateva comenzi si adaugi niste functii, dar pentru ca esti la inceput ai un 4/5 :D
  9. Cum pot sa rezolv warnurile/erorile astea? C:\Users\eu\Documents\pro RolepLay\gamemodes\NVL.pwn(2608) : error 018: initialization data exceeds declared size C:\Users\eu\Documents\pro RolepLay\gamemodes\NVL.pwn(2610) : error 010: invalid function or declaration C:\Users\eu\Documents\pro RolepLay\gamemodes\NVL.pwn(2614) : error 052: multi-dimensional arrays must be fully initialized C:\Users\eu\Documents\pro RolepLay\gamemodes\NVL.pwn(38154) : error 032: array index out of bounds (variable "JoinPed") C:\Users\eu\Documents\pro RolepLay\gamemodes\NVL.pwn(38154) : error 032: array index out of bounds (variable "JoinPed") Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 5 Errors. Linia 38154: else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[95][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[95][0]; } Linia 2610 }; Linia 2614 new Peds[89][1] = {
  10. Foarte bun tutorial vroaim sa iti zic acum 2 zile sa fac aceste lucruri pe forum dar nu am avut timp. 100/10
  11. Eu am avut warn 80 si acum am 20:D , scade warnul la cate zile stai cuminte:))
  12. O sa adaug comanda la v0.6 si care sunt comenzile care nu merg?
  13. Pune la plugins streamer sscanf2 audio mysql XStreamo asa: plugins streamer.dll sscanf2.dll audio.dll mysql.dll XStreamo.dll
  14. Multumesc ca meai zis , foarte bun tutorial chiar m-am gandit ieri sa il fac dar nu am avut timp 10/10
  15. Multumesc am incercat sa urc si eu serverul pe host dar imi da linile asta in FTP: Status: Connecting to 188.241.14.220:21... Status: Connection established, waiting for welcome message... Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- Response: 220-You are user number 1 of 50 allowed. Response: 220-Local time is now 17:38. Server port: 21. Response: 220-This is a private system - No anonymous login Response: 220-IPv6 connections are also welcome on this server. Response: 220 You will be disconnected after 15 minutes of inactivity. Command: USER server7 Response: 331 User server7 OK. Password required Command: PASS ********** Response: 530 Login authentication failed Error: Critical error Error: Could not connect to server
  16. Nustiu ce poate are , daca tu dezahivezi fisierul si ei de acolo pwn si amx si le pui in fisierul filterscript si scri in server.cfg la linia filterscript clock , nu are cum sa nu mearga,
  17. Dute in sever.cfg la linia filterscript si scrie : clock filterscripts clock sau daca nu merge poate ai un ceas in gamemode , sterge ca sa mearga acest ceas.
  18. Care comanda /v ? /v [sistem de masini personale] sau comanda /v pentru ati lua o masina?
  19. Cauta AddPlayerClass in gamemod. AddPlayerClass(115,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0); Schimba numarul '115' cu un skin care iti place de aici. http://wiki.sa-mp.com/wiki/Category:Skins
  20. Diabolik

    Flood

    Uite pune un anti-bot bun si un anti-flood poate nu o sa mai primesti flood. anti-flood: http://www.filehost.ro/3497036/filterscripts_rar/ anto-bot: http://www.filehost.ro/3497046/bot_rar/
  21. Pune si tu server.cfg sa vad ce ai acolo.
×
×
  • 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.