Password protected skin - HELP
#6

Quote:
Originally Posted by litesp
Посмотреть сообщение
So..if i want skin 265 locked how would it look like?

Код:
public OnPlayerRequestClass(playerid, classid)
{
    switch(classid)
    {
    case 0: Locked[playerid] = 0; //this one DOESNT.
    case 1: Locked[playerid] = 0; //this one too
    case 265: Locked[playerid] = 1; //this is going to be locked, right?
    }
    return 1;
}
Like that?
no, classid and skinid are 2 different things. The skin id is the id of the model of a skin. The class id is the number that identifies a class.
Reply


Messages In This Thread
Password protected skin - HELP - by litesp - 21.06.2011, 17:35
Re: Password protected skin - HELP - by litesp - 21.06.2011, 19:10
Re: Password protected skin - HELP - by Scenario - 21.06.2011, 19:12
Re: Password protected skin - HELP - by litesp - 21.06.2011, 20:00
Re: Password protected skin - HELP - by Scenario - 21.06.2011, 21:10
Re: Password protected skin - HELP - by Sasino97 - 21.06.2011, 21:20
Re: Password protected skin - HELP - by Scenario - 21.06.2011, 21:48
Re: Password protected skin - HELP - by litesp - 22.06.2011, 13:36
Re: Password protected skin - HELP - by litesp - 23.06.2011, 15:07
Re: Password protected skin - HELP - by Wesley221 - 23.06.2011, 15:26

Forum Jump:


Users browsing this thread: 1 Guest(s)