N3MTV / gcphone

Téléphone pour FiveM
104 stars 225 forks source link

Translation #83

Closed lucasvperini closed 5 years ago

lucasvperini commented 5 years ago

Hey!

Any chances of being able to translate this? https://forum.fivem.net/uploads/default/original/3X/6/8/68ebc3293259531030b5446066d67a859d50779e.png

Thanks!

Gannon001 commented 5 years ago

If you need translate " De #XXXX: ... "

Look here https://github.com/N3MTV/gcphone/blob/3389fad56d41b5e6adfd74572e527ff6399a3257/resources/esx_addons_gcphone/server.lua#L24

If you want change mecano, change the number in jobs script (not tested, maybe break script) Edit serviceCall in config.json

Exemple : https://github.com/CMDTelhada/fxserver-esx_mecanojob/blob/e9438fa1be68546a29c3ff1933b7eb231011cceb/server/main.lua#L15

lucasvperini commented 5 years ago

Yeah, it breaks the script, already tried that... There's any other way?

Thanks for your time and help!

Gannon001 commented 5 years ago

Try this new version Set defaultContacts in config.json

gcphone.zip

lucasvperini commented 5 years ago

You are a legend, worked like a charm. Another question, it's possible to make the phone a item? Like, you need the phone item to use the phone. Got it?

(sorry for my bad english, i'm Brazilian).

Gannon001 commented 5 years ago

If you use esx

comment line 32 - 34 and 38 - 39 in client.lua Uncomment the line 46 - 65 in client.lua Uncomment the line 27 - 42 in server.lua

lucasvperini commented 5 years ago

I should register phone on a script or i just need to add "phone" item to my db?

Thank you for your awesome work, you're a legend.

Gannon001 commented 5 years ago

Yes add phone item in your base

lucasvperini commented 5 years ago

Awesome.

May i can get you Discord? I want to talk with you about some resources.

Gannon001 commented 5 years ago

No sry

lucasvperini commented 5 years ago

Ok, thanks