Locking a skin to certain players
#3

Quote:
Originally Posted by Abagail
Посмотреть сообщение
******, that's not what he wants, he just wants to lock it(I think). You can do this by adding something as easy as in this in the request-spawn callback

pawn Код:
if(pInfo[playerid][pSwat] == 0)
{
    SendClientMessage(playerid, -1, "You are not authorized to use this skin.");
    return 0;
}
EDIT: I'll try that out. Thanks


Quote:
Originally Posted by ******
Посмотреть сообщение
Yes, you CAN do that, but IMHO it is far better to remove the skin entirely from class selection so players who can't use a skin don't even get to see the skin.
I would rather keep the skin for everyone to see, just not for everyone to use. But I'm probably going to try out y_classes anyway.

Thanks
Reply


Messages In This Thread
Locking a skin to certain players - by FunnyBear - 24.11.2014, 20:28
Re: Locking a skin to certain players - by Abagail - 24.11.2014, 21:10
Re: Locking a skin to certain players - by FunnyBear - 24.11.2014, 23:23

Forum Jump:


Users browsing this thread: 2 Guest(s)