09.02.2012, 02:39
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(playerid, COLOR_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
}