Jump to content
  • 0

Nu merg Objecturile


Guest Zergyu

Question

Pe Server mi-am pus xStreamer pentru a putea pune mai multe obiecte fara a lua crash.

Mi-am pus si plugins pentru xStramer.Dupa ce am facut toate astea mi-am ales Objecturile dorite , le-am transformat aici: http://gtamap.delux-host.com/converter/index.php in xStramer (xObjects v2) si le-am copiat in zergyuobject.pwn care l-am facut dupa aceea in zergyuobject.amx . Am scris in server.cfg

filterscripts Clock zergyuobject xStreamer
si la sfarsit am scris si
plugins xStreamer
, pluginul care l-am adaugat pentru xStramer. Toate acestea le-am facut in zadar pentru ca objecturile nu-mi apar...ce este de facut ???
Link to comment
Share on other sites

16 answers to this question

Recommended Posts

filterscripts Clock xStreamer zergyuobject

--

Sau poate nu ai Windows Framework 3.5

Am incercat sa il instalez de aici: http://www.microsoft.com/downloads/thankyou.aspx?familyId=333325fd-ae52-4e35-b531-508d977d32a6&displayLang=en dar mi-a dat error la setup

Edit: am pus in fata xStreamer , dar tot nu merge..

Link to comment
Share on other sites

Am incercat sa il instalez de aici: http://www.microsoft.com/downloads/thankyou.aspx?familyId=333325fd-ae52-4e35-b531-508d977d32a6&displayLang=en dar mi-a dat error la setup

Edit: am pus in fata xStreamer , dar tot nu merge..

ai instalat windows installer 3.1 dupaia poti instala net framework 3.5 sau uitete aici

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Link to comment
Share on other sites

Cred ca el nu are codurile scrise corect. Daca le ai de forma CreateObject sau altfel, punele  CreateStreamedObject.

Ex: CreateStreamedObject(ID, X, Y, Z);

Totusi, spune-ne cum ai codurile la obiecte.

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

#icebox: cand incerc sa instalez 3.1 imi da error: newacdseeprobmpimage2.th.png

#vyorel: uite 1 exemplu: CreateStreamedObject(18284, -1300.032, -2165.567, 24.112, 0.0, 0.0, -90.000); . Doar ca am ~776 de objecturi ...

Ps: Scz ca am raspuns asa greu, dar nu am avut timp..

Link to comment
Share on other sites

Porneste serverul si zimi daca iti apare asa:

[22:04:09] Server Plugins
[22:04:09] --------------
[22:04:09]  Loading plugin: xStreamer
[22:04:09] xStreamer plugin loaded
[22:04:09]   Loaded.
[22:04:09]  Loaded 1 plugins.

Link to comment
Share on other sites

Porneste serverul si zimi daca iti apare asa:

[22:04:09] Server Plugins
[22:04:09] --------------
[22:04:09]  Loading plugin: xStreamer
[22:04:09] xStreamer plugin loaded
[22:04:09]   Loaded.
[22:04:09]  Loaded 1 plugins.

Da imi apare: newacdseeprobmpimage2.th.png

Link to comment
Share on other sites

Am incercat altceva...mi-a sugerat un prieten care se ocupa si el cu chestii de genu sa scriu in GF.

Am facut astfel:

//---------------------------------[LoadObjects]--------------------------------

public LoadObjects()

{

CreateStreamedObject(1225, -2274.563721, -1615.743286, 476.463867, 0.0000, 0.0000, 0.0000);

CreateStreamedObject(1225, -2273.666504, -1609.724487, 475.595215, 0.0000, 0.0000, 0.0000);

..........................

return 1;

}

Si merge....desi imi da o erroare:

D:\Games\Server SA-MP Zergyu\gamemodes\gf.pwn(7877) : warning 217: loose indentation

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size:          6700 bytes

Code size:          1259360 bytes

Data size:          2232436 bytes

Stack/heap size:      16384 bytes; estimated max. usage=4904 cells (19616 bytes)

Total requirements: 3514880 bytes

1 Warning.

Acum vreau sa va intreb si sa va cer parerea daca am facut bine si daca voi avea problema cu Crash-ul (Am 381 Objecturi)...

Link to comment
Share on other sites

e warn .. #pragma tabsize 0,dupa #include


Poate ca ai folosit si CreateObject... :-[

Ok am pus chestia cu " #pragma tabsize 0 ".Nu am avut CreateObject... :-) Acum numai da nici o ErRoare...dar probleme cu crashurile sau alte "surprize" o sa am?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By ItzGabi2k
      Nu imi merg comenzile:
      /shopinfo, /normalshop, /vipcars, extrapackshop
      YCMD:shopinfo(playerid, params[], help) { ShopType[ playerid ] = 0; ShowShop( playerid ); return true; }
      YCMD:normalshop(playerid, params[], help) { ShopType[ playerid ] = 1; ShowShop( playerid ); return true; }
      YCMD:vipcars(playerid, params[], help) { ShopType[ playerid ] = 2; ShowShop( playerid ); return true; }
      YCMD:extrapackshop(playerid, params[], help) { ShopType[ playerid ] = 3; ShowShop( playerid ); return true; }
      YCMD:shop(playerid, params[], help) {
          SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}Comanda de /shop a fost schimbata:");
          SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}Shop Info:     /shopinfo");
          SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}Normal Shop: /normalshop");
          SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}V.I.P Cars:  /vipcars");
          SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}Extra Packs: /extrapackshop");
          return true;
      }
    • By GamerulFOX
      Salut ! Nu merge o verificare ! Daca acel player, are acei bani, ii ofera mesajul "Acel jucator nu are suficienti lei pentru a platii amenda" ! Ce am facut gresit ?


      CMD:amenda(playerid, params[])
      {
          new id, amenda, string[256], Float:x, Float:y, Float:z, name[MAX_PLAYER_NAME];
          GetPlayerName(playerid, name, sizeof(name));
          GetPlayerPos(id, x, y, z);
          if(fPolitie[playerid] == 0) return SendClientMessage(playerid, RED, "Nu esti din factiunea 'Politie' !");
          if(sscanf(params, "ud", id, amenda)) return SendClientMessage(playerid, 0xff0000FF, "/amenda <playerid/name> <amount>");
          if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID) return SCM(playerid, 0xff0000FF, "Acel jucator nu este conectat!");
          if(!IsPlayerInRangeOfPoint(playerid, 2.0, x, y ,z)) return SendClientMessage(playerid, 0xff0000FF, "Nu esti langa acel player!");
          if(GetPlayerMoney(id) != amenda) return SendClientMessage(playerid, 0xff0000FF, "Acel jucator nu are suficienti lei pentru a platii amenda!");
          GivePlayerMoney(id, -amenda);
          format(string, sizeof(string), "Ai fost amendat de politistul %s!", name);
          SendClientMessage(id, 0x00aeffFF, string);
          return 1;
      }
    • By GamerulFOX
      CMD:cursataxi(playerid, params[]) {     new id, bani, string[256], string1[256], name[MAX_PLAYER_NAME], name1[MAX_PLAYER_NAME];     GetPlayerName(playerid, name, sizeof(name));     GetPlayerName(id, name1, sizeof(name1));     if(sscanf(params, "ud", id, bani)) return SendClientMessage(playerid, SYNTAX, "/cursataxi <playerid/name> <amount>");     new Float:x, Float:z, Float:y;     GetPlayerPos(id, Float:x, Float:y, Float:z);     if(fTaxi[playerid] == 0) return SendClientMessage(playerid, 0xff0000FF, "Nu esti din factiunea 'Taxi' !");     if(!IsPlayerInVehicle(playerid, cTaxi[0])) return SendClientMessage(playerid, 0xff0000FF, "Nu esti in masina de taxi !");     if(!IsPlayerInVehicle(playerid, cTaxi[1])) return SendClientMessage(playerid, 0xff0000FF, "Nu esti in masina de taxi !");     if(!IsPlayerInVehicle(playerid, cTaxi[2])) return SendClientMessage(playerid, 0xff0000FF, "Nu esti in masina de taxi !");     if(!IsPlayerInRangeOfPoint(playerid, 2.0, x, y, z)) return SendClientMessage(playerid, 0xff0000FF, "Nu esti langa acel player!");     if(GetPlayerMoney(id) < bani) return SendClientMessage(playerid, 0xff0000FF, "Acel player nu are suficienti lei pentru a platii cursa!");     if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID) return SCM(playerid, 0xff0000FF, "Acel jucator nu este conectat!");     format(string, sizeof(string), "Iai oferit o cursa lui %s, pentru %d lei!", name1, bani);     SendClientMessage(playerid, 0x00aeffFF, string);     format(string1, sizeof(string1), "Taximetristul %s ti-a oferit o cursa pe %d lei!", name, bani);     SendClientMessage(playerid, 0x10d4deff, string);     GivePlayerMoney(id, -bani);     GivePlayerMoney(playerid, bani);     return 1; } VREAU SA MENTIONEZ CA AM INCERCAT SI ASA CMD:cursataxi(playerid, params[]) {     new id, bani, string[256], string1[256], name[MAX_PLAYER_NAME], name1[MAX_PLAYER_NAME];     GetPlayerName(playerid, name, sizeof(name));     GetPlayerName(id, name1, sizeof(name1));     if(sscanf(params, "ud", id, bani)) return SendClientMessage(playerid, SYNTAX, "/cursataxi <playerid/name> <amount>");     new Float:x, Float:z, Float:y;     GetPlayerPos(id, Float:x, Float:y, Float:z);     if(fTaxi[playerid] == 0) return SendClientMessage(playerid, 0xff0000FF, "Nu esti din factiunea 'Taxi' !");     if(GetPlayerVehicleID(playerid) != cTaxi[0] || GetPlayerVehicleID(playerid) != cTaxi[1] || GetPlayerVehicleID(playerid) != cTaxi[2]) return SendClientMessage(playerid, 0xff0000FF, "Nu esti in masina de taxi!");     if(!IsPlayerInRangeOfPoint(playerid, 2.0, x, y, z)) return SendClientMessage(playerid, 0xff0000FF, "Nu esti langa acel player!");     if(GetPlayerMoney(id) < bani) return SendClientMessage(playerid, 0xff0000FF, "Acel player nu are suficienti lei pentru a platii cursa!");     if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID) return SCM(playerid, 0xff0000FF, "Acel jucator nu este conectat!");     format(string, sizeof(string), "Iai oferit o cursa lui %s, pentru %d lei!", name1, bani);     SendClientMessage(playerid, 0x00aeffFF, string);     format(string1, sizeof(string1), "Taximetristul %s ti-a oferit o cursa pe %d lei!", name, bani);     SendClientMessage(playerid, 0x10d4deff, string);     GivePlayerMoney(id, -bani);     GivePlayerMoney(playerid, bani);     return 1; }

       
    • By nomad socio
      daca fac o baza de date pe localhost/phpmyadmin si imi bag datele in script, conectarea mysql are succes
      dar daca imi bag datele pe care le-am primit de la host, nu merge
      ce sa fac?
    • By AndreiDeRo
      Salut , gasisem pe youtube gm bottles si panel la el dar acela nu imi merge si am nevoie de un panel COMPATIBIL CU gm BOTTLES
      Daca cineva imi da un panel compatibil si fara vurnerabilitati ii dau o recompensa!
  • 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.