29.05.2013, 07:19
Admin check for LuxAdmin itself
If you're using it in another script:
Replace each one accordingly
Not tested, but if it doesnt work, post here.
pawn Код:
if(AccInfo[playerid][Level] >= 1)
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))
Not tested, but if it doesnt work, post here.