Password Protected Skins?
#8

Quote:
Originally Posted by Retardedwolf
Посмотреть сообщение
That functions doesn't have classid you smart ass.

You return 0 in OPRC to disallow them to spawn.
Exactly.

You could easily do this with a var.

I.e:
pawn Код:
//Global var.
new SkinPass[MAX_PLAYERS] = 0;
new SkinProtected = {
{skin ids}
};

public OPRC(playerid, classid)
{
if(SkinPass[playerid] == 0 && classid == SkinProtected)
{
return 0;
}
else
{
return 1;
}
return 0;
}
Reply


Messages In This Thread
Password Protected Skins? - by Luis- - 03.10.2010, 21:18
Re: Password Protected Skins? - by CrucixTM - 03.10.2010, 21:24
Re: Password Protected Skins? - by Luis- - 03.10.2010, 21:35
Re: Password Protected Skins? - by Retardedwolf - 03.10.2010, 21:39
Re: Password Protected Skins? - by CrucixTM - 03.10.2010, 21:43
Re: Password Protected Skins? - by Luis- - 03.10.2010, 23:02
Re: Password Protected Skins? - by Retardedwolf - 04.10.2010, 01:01
Re: Password Protected Skins? - by Toni - 04.10.2010, 01:59
Re: Password Protected Skins? - by CrucixTM - 04.10.2010, 06:08
Re: Password Protected Skins? - by Retardedwolf - 04.10.2010, 07:04

Forum Jump:


Users browsing this thread: 1 Guest(s)