πŸ‡ΊπŸ‡ΈNormal Locales

How to edit Normal Locales (Its an example on sf_spawnnpccopy)

First go to sf_spawnnpccopy if you want to edit the language go to lang.lua

How to edit lang.lua?

ex. line 8: lang.notifydescription = "NPC cloned with the same appearance as you" translated to france: lang.notifydescription = "PNJ clonΓ© avec la mΓͺme apparence que vous"

lang.lua
--|||||||||||||||||||||||||||||||||||||||||||||||||||||||||--
--|||IF NOT USING OX LIB THEN U CAN CHANGE LANGUAGE HERE|||--
--|||||||||||||||||||||||||||||||||||||||||||||||||||||||||--

lang = {}

lang.notifytitle = "SYSTEM" -- Title of the chat notify when you spawn a NPC like u <3
lang.notifydescription = "NPC cloned with the same appearance as you" -- Description of the chat notify when you spawn a NPC like u <3

lang.notifydeletetitle = "SYSTEM DEL" -- Title of the chat notify when you delete all NPCs like u <3
lang.notifydeletedescription = "All NPCs were deleted." -- Description of the chat notify when you delete all NPCs like u <3

lang.notifymaxetitle = "SYSTEM MAX" -- Title of the chat notify when you have reached the limit of copies.
lang.notifymaxdescription = "You have reached the limit of how many you can spawn." -- Description of the chat notify when you have reached the limit of copies.

lang.Notifyanimationtitle1 = "ANIMATION" -- Title of the chat notify when you play a animation.
lang.Notifyanimationdescription1 = "NPC playing custom animation: " -- Description of the chat notify when you play a animation.

lang.Notifyanimationtitle2 = "ANIMATION" -- Title of the chat notify when there is no NPC.
lang.Notifyanimationdescription2 = "No NPC to play animation on." -- Description of the chat notify when there is no NPC.

lang.Notifyanimationtitle3 = "ANIMATION" -- Title of the chat notify when your command is false.
lang.Notifyanimationdescription3 = "Specify both animation dictionary and animation name"  -- Description of the chat notify when your command is false.

lang.Notifyanimationtitle4 = "ANIMATION" -- Title of the chat notify when you stopped the animation.
lang.Notifyanimationdescription4 = "The Animation stopped" -- Description of the chat notify when you stopped the animation.

Last updated