Jump to content

[REZOLVAT] Problema


gabyrpg
 Share

Recommended Posts

  • Retired
7 minutes ago, gabyrpg said:

Nu iti da nici un text cand dai /car spawneaza direct masina

Cauta la ongamemodeinit daca comanda e prescurtata.

 

 

Link to comment
Share on other sites

cauta modelul masinii pe care ti-o spawneaza, de exemplu, iti da infernus, ii cauti id-ul cu /vehname, apoi, cauta in gamemode AddStaticVehicle(id la masina, in la infernus, AddStaticVehicle(411 daca nu gasesti, probabil este intr-un include sau fs, verifica fs-urile din gm si tot odata include-ul systems, daca nu ma insel.

Link to comment
Share on other sites

  • Manager

Pune undeva sus, langa alte define-uri acest cod:

#define debug_CreateVehicle(%0, %1, %2, %3, %4, %5, %6, %7) printf("** debug_CreateVehicle called on line %d", __line), CreateVehicle(%0, %1, %2, %3, %4, %5, %6, %7)

Si inlocuieste in tot gamemode-ul functia CreateVehicle cu debug_CreateVehicle, dupa care folosesti in joc comanda /car si verifica in consola, iti va arata linia unde a fost folosita functia CreateVehicle.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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