20.04.2016, 10:15
(
Последний раз редактировалось Miller007; 20.04.2016 в 19:26.
)
solved
if(strcmp(pname, "Miller007", true) == 0)//here your surname in game { SetPlayerSkin(playerid, 100); return 0; }
public OnPlayerRequestSpawn(playerid)
{
if(GetPlayerSkin(playerid) == 26)
{
new SkinName[MAX_PLAYER_NAME];
GetPlayerName(playerid, SkinName, sizeof(SkinName));
if(!strcmp(SkinName, "Apex", false))
{
SendClientMessage(playerid,red,"This Skin For Apex Only");
return 0;
}
}
return 1;
}