SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 04/03/2019, 07:06 AM   #1
Yukie
Big Clucker
 
Yukie's Avatar
 
Join Date: Nov 2016
Location: Somewhere in PHILIPPINES
Posts: 86
Reputation: 0
Default custom skin

Good day everyone.. I have a question.. can I add a custom skin/object to model folder and artconfig with restarting the server? Is it possible?
__________________

Discord: Yukie#5995|FB: @ichaaaannn
Reality Roleplay
samp.reality-rp.ml
Yukie is offline   Reply With Quote
Old 04/03/2019, 11:37 AM   #2
4D1L
Big Clucker
 
Join Date: Mar 2016
Location: United Kingdom
Posts: 63
Reputation: 20
Default Re: custom skin

It is indeed possible.

I store the values needed for the parameters of the function AddCharModel and AddSimpleModel.

I then run a query to fetch all the models, I would like to add, from the database in OnGameModeInit

To add models while the server is running, I would run the same query during runtime. To ensure players already on the server have the new models loaded, I would change the virtual world so the player is forced to download the new models and then set it back to whatever it was before. Or, you could load your new models when your server has no players online.
4D1L 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
Custom skin in this GM murilo2929 Scripting Help 9 20/11/2018 07:10 PM
[HELP] Custom skin murilo2929 Scripting Help 0 09/11/2018 09:12 PM
Custom skin error Zeus666 SA-MP 0.3.DL 11 27/01/2018 08:37 AM
Custom skin bug Psycho96 SA-MP 0.3.DL 2 08/11/2017 10:41 PM
[Pedido] Skin Custom Lateamcraft PortuguÍs/Portuguese 8 29/06/2013 12:03 AM


All times are GMT. The time now is 07:00 PM.


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