Vip or Admin Skins help
#5

Admin check for LuxAdmin itself
pawn Код:
if(AccInfo[playerid][Level] >= 1)
If you're using it in another script:

pawn Код:
#include ladmin

//heres the Admin check
public OnPlayerRequestSpawn(playerid)
{
if (IsPlayerLuxAdminLevel(playerid,0))
if(GetPlayerSkin(playerid,SKINHERE); return SendClientMessage(playerid,-1,"Skin for admin use only");
return 0;
}
pawn Код:
//or if you're using VIP

    if(IsPlayerVipType(playerid,1))
Replace each one accordingly
Not tested, but if it doesnt work, post here.
Reply


Messages In This Thread
Vip or Admin Skins help - by Farshid1994 - 28.05.2013, 21:18
Re: Vip or Admin Skins help - by DobbysGamertag - 28.05.2013, 21:33
Re: Vip or Admin Skins help - by Farshid1994 - 28.05.2013, 22:56
Re: Vip or Admin Skins help - by Farshid1994 - 29.05.2013, 07:09
Re: Vip or Admin Skins help - by DobbysGamertag - 29.05.2013, 07:19
Re: Vip or Admin Skins help - by Farshid1994 - 29.05.2013, 07:35
Re: Vip or Admin Skins help - by mahdi499 - 29.05.2013, 07:43
Re: Vip or Admin Skins help - by Farshid1994 - 29.05.2013, 11:37

Forum Jump:


Users browsing this thread: 1 Guest(s)