26.12.2011, 10:05
OnPlayerRequestSpawn use the following code.
I hope this helps, + rep if it did, btw the important thing is to make return 0 where you don't want ppl to spawn under OnPlayerRequestClass
pawn Код:
if(GetPlayerSkin(...) ) // put your skins that you don't wish ppl to make.
{
if(Player.....) // put the if statement to declare the player is NOT eligible for this skin.
{
SendClientMessage(playerid,COLOR_WHITE,"You are not eligible for this skin");
return 0;
}
}