SA-MP Forums Archive
Custom skins in 03dl - 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: Custom skins in 03dl (/showthread.php?tid=660693)



Custom skins in 03dl - murilo2929 - 10.11.2018

Is it possible to put textures of objects like the Kevlar vest on server version 03dl? I saw the tutorial and put it but I do not know how to put this object


Re: Custom skins in 03dl - DatGuySleepy - 11.11.2018

Yes, it's possible to add custom models of objects.
As long as you use that model ID you typed in the artconfig.txt file in any functions, you should be able to what you're trying to do.

AddSimpleModel(virtualworld, baseid, newid, dffname[], txdname[]);

For example, if a custom model I added is using the newid of -2000, then I'd type..
SetPlayerAttachedObject(playerid, 1, -2000, 1);


Re: Custom skins in 03dl - murilo2929 - 11.11.2018

Quote:
Originally Posted by DatGuySleepy
Посмотреть сообщение
Yes, it's possible to add custom models of objects.
As long as you use that model ID you typed in the artconfig.txt file in any functions, you should be able to what you're trying to do.

AddSimpleModel(virtualworld, baseid, newid, dffname[], txdname[]);

For example, if a custom model I added is using the newid of -2000, then I'd type..
SetPlayerAttachedObject(playerid, 1, -2000, 1);
but is a way to put this custom object in shop?