02.11.2012, 19:51
Quote:
- I would like to know how to restrict skins to players with 20+ score.
|
pawn Код:
if(GetPlayerSkin(playerid) == 0)
{
if(GetPlayerScore(playerid) < 20)
{
SendClientMessage(playerid,-1,"You need to have 20 score to play with this skin!");
return 0;
}
}
Edit: It should be added on
Код:
OnPlayerRequestSpawn