pull in car cmd - HELP PLEASE
#4

Just put an if statement in the command checking if the player is in one of those factions ( Using the gamemode variables that check in what group they are ).

It would look something like this.

pawn Код:
if(strcmp(/pu command))
{
  if(YourFactionVariable[playerid] > 3 && YourFactionVariable[playerid] < 1) return SendClientMessage(playerid, color, " You must be a cop.");
  // Perform command here.
  return 1;
}
Reply


Messages In This Thread
pull in car cmd - HELP PLEASE - by buonggiorno - 14.11.2009, 19:42
Re: pull in car cmd - HELP PLEASE - by Abernethy - 14.11.2009, 19:48
Re: pull in car cmd - HELP PLEASE - by buonggiorno - 14.11.2009, 19:53
Re: pull in car cmd - HELP PLEASE - by Donuts - 14.11.2009, 21:08

Forum Jump:


Users browsing this thread: 1 Guest(s)