How to set Skin ONLY for Admin with lAdmin
#1

I am wondering how i can put This skin is Only for Admin by using lAdmin? Any idear?
Reply
#2

Under OnPlayerSpawn or anywhere else you want it.

pawn Код:
if(PlayerInfo[playerid][Level]>=1) SetPlayerSkin(playerid, 125);  //Just change the 125
Reply
#3

How do i know what skin is Witch? Liek Cops and that? And do i put it in the lAdmin.pawn?
Reply
#4

Quote:
Originally Posted by DJ Danni
How do i know what skin is Witch? Liek Cops and that? And do i put it in the lAdmin.pawn?
For the skins: https://sampwiki.blast.hk/wiki/Category:Skins

And yes, put it under OnPlayerSpawn in your Ladmin.pwn and compile it.
Reply
#5

When i try to add it i get error

http://pawn.pastebin.com/d1e1903a
Reply
#6

Show the lines/code please.
Reply
#7

pawn Код:
public OnPlayerSpawn(playerid)

if(PlayerInfo[playerid][Level]>=5) SetPlayerSkin(playerid, 287);  //Just change the 125
{
    if(ServerInfo[Locked] == 1 && PlayerInfo[playerid][AllowedIn] == false)
    {
        GameTextForPlayer(playerid,"~r~Server Locked~n~You must enter password before spawning~n~/password <password>",4000,3);
        SetTimerEx("DelayKillPlayer", 2500,0,"d",playerid);
        return 1;
    }
Here he is
Reply
#8

Still error
http://pawn.pastebin.com/d52e01549
Add me on MSN studio@toppfm.is
Reply
#9

pawn Код:
if(PlayerInfo[playerid][Level] >= 5) { SetPlayerSkin(playerid, 287); }
Reply
#10

nope still error
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)