Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Fix trade zen + command  (Visto 1504 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline Yalc Posteado: August 13, 2019, 10:49:54 PM | Modificado: August 13, 2019, 10:54:09 PM by Yalc

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 230
  • Gracias recibida: 6047
  • ve
Simple pero efectivo, como me agrada :D

Simplemente no dejara usar ningún comando al estar en trade, yo no veo necesario usar comandos mientras se hace un trade ya que en ese momento la persona con la que tradeas o comercias te habla sin comando, etc

CommandManager.cpp

Creditos
Yalc(me)

Gracias:

Xysad, dizzys, stopk, bin9xhn2, rando, kimrubi, komandirbk, Smudevelop, elfazor, Crowley, Shaper, usersa, mocorongo, thieugiapc, nigealix20, lstuan, xiazaipw, visionmu, victorrz17, PhantomKr, tkstriker, coolgepds, felippe2099, zhangjianle865, ta6akus7, kendy93, sagat202, phantrungloi, danillodsd, zodiacobr, frenzo2009, animator, xlockee, c4nhsatcodong, AmericaHost, tiendoanit, judakiss21, valecapo00, louisfdp, hanzel, ShadowWolf, lukaz2z, cobyzero, ailsoncost, showmax, marcos2246, nhanphu200, deathsquad, LORDFENIXX, nguqua, emersonx13, neeck1234, ConejoMalo, 161012, xxmenonxx, laulinh2, hawkx, waltervg91, jeronemo, Pocotoyo, calabocajea, GabrielDevel, nonnan005, allhoy, spartacus, alexfy, Aguila, Genilson23, dyZONE, comelon666, dmnahuel, higlans, DarkovaX, beecubin, binhchivn, Odisk, demmian2, 6atters, gacon201294, takumi12, 423646802, luciferlg, alanfederico, matiaslawwliet, Denis Alves, Almdar, elibelash, fivqt, emciel, belen10, Karuritoku, barak1991, SaintZeus, TzCr4ck, andreyzz, Dieguinho, thienthan1117, neicer, knight.php, AntiChetO, powerpatic, samsunggon, wolffrox, santos, zeruskill, xxkarxx, hackluv, melo920, vnz55555, Santijjk009, Liaon, linkzero, axeman192, sahar01235, quique13, Jean LR, PachoRasta, realman, fredycarp, becoloko, magicjd66, AZURE, dasgrid, abraao, yhoon, Azzlaer, KhongGianOL, Yasser, fcgame, hiep, hiep, TheKing027, pravednik, T-LEGENDARY, lau08, Wendigo, dreamboy7, dedicadobk, Nexus, dlawls662, herjuni, djagripnos, SetecSoft, Ryuno, NoobDK, chuckhai, RinOv, kind, pclcaetano, magtjr1, kayito, SbaGomez, jhonhy, gpsturbo, gauyeutho, socolas, seedmaker, stark98, darkjano, 1732313, thinhgm02, Lude, CorsarioDgx, quyanxu, Kapocha33, louis, nxx, Thor Host, AreS

Offline Jean LR #1 Posteado: June 08, 2020, 01:08:49 AM

  • 0 puntos por ventas
  • *
  • Rank: Liga mayor
  • Posts: 196
  • Gracias recibida: 102
  • pe
Para los que tienen problemas al compilar solo le faltan el 0 al return el código quedaría así


        if(lpObj->Interface.type == INTERFACE_TRADE)
   {
      gNotice.GCNoticeSend(lpObj->Index, 1, 0, 0, 0, 0, 0, "You cannot use commands in trade");
      return 0;
   }

Gracias:


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
6 Replies
1740 Views
Last post February 26, 2020, 05:37:46 PM
by Lil Kid
3 Replies
792 Views
Last post April 04, 2020, 08:04:58 AM
by barak1991
0 Replies
449 Views
Last post April 10, 2020, 08:28:29 AM
by clerigz
3 Replies
575 Views
Last post July 03, 2020, 03:21:11 PM
by Dr4G0N
3 Replies
722 Views
Last post July 03, 2020, 07:05:58 PM
by samluis