SA-MP Forums Archive
How To Get ClothName On Specified Slot - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How To Get ClothName On Specified Slot (/showthread.php?tid=556507)



How To Get ClothName On Specified Slot - danish007 - 10.01.2015

hello, im making my clothes system so tell me how can i get cloth name which is set on specified slot?
like i added Gimp Mask on slot 1 so how can i get name from slot 1 "Gimpmask?"

if code is needed tell me..


Re: How To Get ClothName On Specified Slot - Divergent - 10.01.2015

new Accessories[][AccessoriesEnum] = {
{2103, "Stereo"},
{19078, "Parrot"},
{18632, "FishingRod"},

new accessorysr[MAX_PLAYERS][sizeof(AdminAccessers)];

Make an enumerator and attach the object IDs to the names you choose like this.


Re: How To Get ClothName On Specified Slot - danish007 - 10.01.2015

but how can i get name like i used slot 1 and added cloth Gimp mask on that slot..
so now im going to see wearing clothes. so now how can i get that exact cloth name on slot 1?