[MAP/FS]SFPD Gates 2
#10

Quote:
Originally Posted by Vince
I think you need to define a team for the cops. But because it's a filterscript I don't think that's possible. But, in Godfather and other scripts, there's a function IsCopCar(carid) . So I guess you can make IsACop too. I think this will work:

pawn Код:
stock IsACop(playerid)
new S;
S = GetPlayerSkin(playerid)
if(S >= 280 && S <= 287) // 286 is FBI guy and 287 is army guy, if you dont want those, change 287 to 285
{
  return 1;
}
is there a way to make gate open automtik with a name and not a skin ?! i mean if name "u put name" near gate it will be opened
Reply


Messages In This Thread
[MAP/FS]SFPD Gates 2 - by Mikep - 23.07.2008, 23:33
Re: [MAP/FS]SFPD Gates 2 - by BogovicH - 24.07.2008, 05:56
Re: [MAP/FS]SFPD Gates 2 - by [D1zZy_vortex] - 24.07.2008, 06:15
Re: [MAP/FS]SFPD Gates 2 - by [M]deLux - 24.07.2008, 08:17
Re: [MAP/FS]SFPD Gates 2 - by Mikep - 24.07.2008, 09:57
Re: [MAP/FS]SFPD Gates 2 - by Vince - 24.07.2008, 13:19
Re: [MAP/FS]SFPD Gates 2 - by Mikep - 24.07.2008, 13:26
Re: [MAP/FS]SFPD Gates 2 - by Rozzie - 24.07.2008, 15:17
Re: [MAP/FS]SFPD Gates 2 - by Mikep - 24.07.2008, 15:19
Re: [MAP/FS]SFPD Gates 2 - by [D1zZy_vortex] - 25.07.2008, 18:57

Forum Jump:


Users browsing this thread: 1 Guest(s)