Is there any way to get the name of a skin mod using GetSkinName function?
e.g. I use some skins mods as:
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fs27.postimg.org%2Ftjxe257ub%2FSem_t_tulo.png&hash=4fe42df1a1f7f492996213eed4f71721721f2ef1)
But when I use GetSkinName in some skin mod returns me a null string: (null : 0x(nil))
But along with the skins have the name in XML:
<?xml version="1.0" encoding="ASCII"?>
<skin>
<basic>
<name>Amanda</name>
<animgroup>busywoman</animgroup>
<animfile>null</animfile>
</basic>
</skin>
My solution was to create my own function. But there how to use XML to get this information?
can you please just search before posting? here is a snippet (http://forum.vc-mp.org/?topic=2385.msg17633#msg17633) that could solve your problem and a bug, just replace Custom Skin names with your skin names and copy paste code and use this function instead of default GetSkinName
I've done a function that takes the names. What I asked was that you have to get these names from within the XML.
you cant get names from xml you have to implement them in your script
I can't understand what's so hard in copy pasting a snippet and then copy-pasting a string from a XML file or a .7z