Restrict a player skin
#7

Hi!

PHP код:
new iSkin;
if(
sscanf(params"d"iSkin)) return SCP(playerid"[skin id]");
if(!
IsValidSkin(iSkin)) return SCP(playerid"[skin id]");
if(!
IsACopSkin(iSkin) || !IsPlayerFED(playerid)) return 0
It should help you.

=> EDIT:
I edited something.
PHP код:
if(!IsACopSkin(iSkin) || !IsPlayerFED(playerid)) return 0
Reply


Messages In This Thread
Restrict a player skin - by justjamie - 29.03.2016, 16:27
Re: Restrict a player skin - by justjamie - 29.03.2016, 16:29
Re: Restrict a player skin - by Skimmer - 29.03.2016, 16:31
Re: Restrict a player skin - by justjamie - 29.03.2016, 16:35
Re: Restrict a player skin - by Skimmer - 29.03.2016, 16:36
Re: Restrict a player skin - by Golden96 - 29.03.2016, 16:36
Re: Restrict a player skin - by Mencent - 29.03.2016, 16:38
Re: Restrict a player skin - by Konstantinos - 29.03.2016, 16:44
Re: Restrict a player skin - by Mencent - 29.03.2016, 16:46
Re: Restrict a player skin - by justjamie - 29.03.2016, 17:17

Forum Jump:


Users browsing this thread: 1 Guest(s)