How to make a personal skin etc.
#1

I wanted to know how can you script a personal skin, like if people try to use it, sometimes it say reserved for [Person Name] and sometimes it will have like you need 50score for it etc.
also how can you make it for cars
Reply
#2

Describe it more? What do you want? A command or under OnPlayerRequestClass or what?
Reply
#3

Skin restriction.. easy.

PHP код:
    new string[16];
    
GetPlayerName(playerid,string,MAX_PLAYER_NAME);
    if(
GetPlayerSkin(playerid) < 5//I used skin ID:5 for example. That "<5" to any that you wish
    
{
        if((
strfind(string"MyName"true) != -1)) //Change MyName to desired name
        
SendClientMessage(playeridCOLOR_RED"Welcome"); //Sends the client message that you want, you can delete this too
    
}
    else 
//If the name is not the name that you wish
    
{
        
Kick(playerid); //if it's not the right name he/she will get kicked
    

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)