Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
ply:SetBodygroup(0, modifications.group0 or 0) --Headband
ply:SetBodygroup(1, modifications.group1 or 0) --Skirt
ply:SetBodygroup(2, modifications.group2 or 0) --Virtuous Contract
ply:SetBodygroup(3, modifications.group3 or 0) --Beastlord
If you are not getting any error message that means the "modifications" array is empty; this also means that the error is not here, It is wherever you are calling these function, where you are not sending the values properly.
And I dont get any errors. Not in my client console nor in my server console.
Edit:
It seems like if i equiped the Spartan pm (from which i got the code) and then equip the 2B pm it will be equiped with modified bodygroups. These are Bestlord ,no virtuous contract, default skirt and no headband.
The modified bodygroups will change when i modify the bodygroups of the Spartan pm and reequip the 2B pm.
It just won´t make sense to me...
This is the original code:
https://pastebin.com/9wxpHaT7