How to make a personal skin etc.
#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


Messages In This Thread
How to make a personal skin etc. - by Uhmazin - 08.02.2012, 21:25
Re: How to make a personal skin etc. - by Ballu Miaa - 09.02.2012, 01:02
Re: How to make a personal skin etc. - by Twinki1993 - 09.02.2012, 02:39

Forum Jump:


Users browsing this thread: 1 Guest(s)