Admin skin
#6

Quote:
Originally Posted by Blackazur
Посмотреть сообщение
Код:
COMMAND:staffskin(playerid,params[])
{
    if(PlayerAdmin[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"You are not an Admin!"); //Your Admin Variable here
	{
       SetPlayerSkin(playerid, 217);
    }
    return 1;
}
Wrong,Why did you return?that won't work what you just said in English is, if i'm an admin return and don't set my skin.
Remove the brackets and add the ! character or remove the return.
Reply


Messages In This Thread
Admin skin - by DerickClark - 25.12.2012, 20:59
AW: Admin skin - by Blackazur - 25.12.2012, 21:08
Re: Admin skin - by DaRk_RaiN - 25.12.2012, 21:09
Re: Admin skin - by DerickClark - 25.12.2012, 21:12
AW: Admin skin - by Blackazur - 25.12.2012, 21:13
Re: AW: Admin skin - by DaRk_RaiN - 25.12.2012, 21:23

Forum Jump:


Users browsing this thread: 2 Guest(s)