SA-MP Forums

Go Back   SA-MP Forums > SA-MP DL Edition > SA-MP 0.3.DL

Reply
 
Thread Tools Display Modes
Old 27/12/2017, 07:32 PM   #11
Nokia17Rocks
Little Clucker
 
Join Date: Jul 2017
Posts: 17
Reputation: 1
Thumbs up Re: [TUTORIAL] How to add a skin/object

How to know the Base ID from a model? or I only need to put someone to "Replace" and take a valid id?

AddSimpleModel(virtualworld, baseid, newid, dffname[], txdname[]);
Nokia17Rocks is offline   Reply With Quote
Old 27/12/2017, 07:47 PM   #12
mschnitzer
Big Clucker
 
mschnitzer's Avatar
 
Join Date: Jul 2015
Posts: 73
Reputation: 33
Default Re: [TUTORIAL] How to add a skin/object

Theoretically, you can take any model id as base id (from the existing ones). The object you're going to add will inherit the properties of the base model. So for example if you add a cube without a collision to your server, and you use an object with collision as base id, it will inherit the collision information from that object. It also inherits a little bit more but I cannot say what exactly.

I recently had an issue with a table, that I extracted from the game and attached a collision to it (so that people can no longer run through that table). I didn't modify the model itself so I was wondering why the glass was no longer being displayed. It was solved by using the base id of the original table so that it inherits the information which was required for displaying the glass: http://forum.sa-mp.com/showthread.php?t=646642
__________________
GitHub Profile: https://github.com/mschnitzer
SA:MP Model Hosting Site: https://www.samp-models.net
mschnitzer is offline   Reply With Quote
Old 31/12/2017, 03:52 PM   #13
Gokz
Little Clucker
 
Join Date: Jun 2012
Posts: 43
Reputation: 2
Default Re: [TUTORIAL] How to add a skin/object

I tried to add a weapon as object but In Game i just see an interrogation point, do you know why?
Gokz is offline   Reply With Quote
Old 02/01/2018, 11:31 AM   #14
Joshhh
Little Clucker
 
Joshhh's Avatar
 
Join Date: Nov 2016
Location: Angel Pine
Posts: 3
Reputation: 0
Default Re: [TUTORIAL] How to add a skin/object

Where's the models folder?
Joshhh is offline   Reply With Quote
Old 02/01/2018, 11:42 AM   #15
mschnitzer
Big Clucker
 
mschnitzer's Avatar
 
Join Date: Jul 2015
Posts: 73
Reputation: 33
Default Re: [TUTORIAL] How to add a skin/object

In the root directory of your server. If it isn't available (that's the case for linux), create it.
__________________
GitHub Profile: https://github.com/mschnitzer
SA:MP Model Hosting Site: https://www.samp-models.net
mschnitzer is offline   Reply With Quote
Old 02/01/2018, 11:49 AM   #16
Sellize
Gangsta
 
Sellize's Avatar
 
Join Date: Jan 2013
Location: (ง ͠ ͟ل͜ ͡)ง fight me irl
Posts: 903
Reputation: 293
Default Re: [TUTORIAL] How to add a skin/object

Quote:
Originally Posted by Joshhh View Post
Where's the models folder?
if it's not present in your server folder, just create one in the root directory
__________________
dead
Sellize is offline   Reply With Quote
Old 13/01/2018, 06:36 PM   #17
dani18
Big Clucker
 
dani18's Avatar
 
Join Date: Dec 2017
Posts: 114
Reputation: 14
Default Re: [TUTORIAL] How to add a skin/object

Great tutorial, +rep.
dani18 is offline   Reply With Quote
Old 07/03/2018, 08:27 AM   #18
tuantruoq
Little Clucker
 
Join Date: Jun 2016
Posts: 2
Reputation: 0
Default Re: [TUTORIAL] How to add a skin/object

Record Video please , im from Vietnam don't know English xD...
tuantruoq is offline   Reply With Quote
Old 22/05/2018, 09:28 PM   #19
Victor012
Big Clucker
 
Join Date: Oct 2012
Location: Brazil
Posts: 52
Reputation: 0
Default Re: [TUTORIAL] How to add a skin/object

So... No need adding colision files?
Victor012 is offline   Reply With Quote
Old 22/05/2018, 10:11 PM   #20
Lokii
Huge Clucker
 
Join Date: Sep 2017
Posts: 312
Reputation: 77
Default Re: [TUTORIAL] How to add a skin/object

Quote:
Originally Posted by Victor012 View Post
So... No need adding colision files?
Nope
Lokii is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Player Skin Breathing cause Object Movement Rudy_ Scripting Help 6 29/08/2014 01:41 PM
How can I replace a skin with an object? Markhoss Scripting Help 5 20/08/2014 12:38 AM
Object skin? JacobWilkerson Scripting Help 4 01/01/2014 10:32 PM
Skin Object !!! duongtong Scripting Help 3 13/06/2013 02:13 AM
deleting this object from my skin isnt working, using the default samp attachments.pwn niels44 Scripting Help 6 12/12/2012 08:20 PM


All times are GMT. The time now is 10:31 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.