Need an skin system
#1

hello i need an skin system like this one i have searched everywhere but couldn't find any skin system like this one
if anyone can make one for me or just provide me the link if this skin system exist anywhere cuz i couldn't find any
im a beginner and can't create one like dis one

like when i type a cmd /skin then this skin textdraw will appear

Picture: http://imgur.com/a/8rjdX
Reply
#2

then...make one?
Reply
#3

well i already mentioned im an beginner how can i create one? i don't know much about scripting thats why i requested for one if its already exist
Reply
#4

****** and search 'SAMP mSelection"
Reply
#5

Simple.

1.) Download skins.txt (Stores the skin ID's), and add it to your scriptfiles
2.) Download the mSelection include, and add it to your script.
3.) Put this somewhere above the script with the "new" variables
PHP Code:
new skinlist mS_INVALID_LISTID
4.) Add this to your OnGamemodeInit
PHP Code:
skinlist LoadModelSelectionMenu("skins.txt"); 
5.) Make a command in your OnPlayerCommandText (You can also change it to ZCMD if you want. Pretty simple)
PHP Code:
    if(strcmp(cmdtext"/changeskin"true) == 0)
    {
        
ShowModelSelectionMenu(playeridskinlist"Select Skin");
        return 
1;
    } 
5.) Add this somewhere/below your script
PHP Code:
public OnPlayerModelSelection(playeridresponselistidmodelid)
{
    if(
listid == skinlist)
    {
        if(
response)
        {
            
SendClientMessage(playerid0xFF0000FF"Skin Changed");
            
SetPlayerSkin(playeridmodelid);
        }
        else 
SendClientMessage(playerid0xFF0000FF"Canceled skin selection");
        return 
1;
    }
    return 
1;

Download Links:
mSelection: Download
skins.txt: Download

You really don't need to download skins.txt with the download link given. It's already there in the mSelection rar.


Hope I helped
Reply
#6

thank you bro it really worked & helped me i appreciated your help i +rep'ed u
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)