Help me please
#9

You would use IsPlayerInRangeOfPoint - If they are within that range, check which team they are on (depending on your script) and set their wanted level accordingly. An example usage would be:
pawn Код:
if( IsPlayerInRangeOfPoint( playerid, 5.0, 0.00, 0.00, 0.00 ) )
{
   if( GetPlayerTeam( playerid ) != 1 )
   {
      SetPlayerWantedLevel( playerid, GetPlayerWantedLevel( playerid ) + 2 );
   }
}
Reply


Messages In This Thread
Help me please - by Abraham2nds - 20.12.2010, 20:34
Re: Help me please - by akis_tze - 20.12.2010, 20:56
Re: Help me please - by Abraham2nds - 20.12.2010, 20:57
Re: Help me please - by akis_tze - 20.12.2010, 21:01
Re: Help me please - by Abraham2nds - 20.12.2010, 21:02
Re: Help me please - by akis_tze - 20.12.2010, 21:05
Re: Help me please - by Abraham2nds - 20.12.2010, 21:07
Re: Help me please - by Abraham2nds - 22.12.2010, 07:05
Re: Help me please - by Grim_ - 22.12.2010, 07:09
Re: Help me please - by Abraham2nds - 22.12.2010, 07:10

Forum Jump:


Users browsing this thread: 2 Guest(s)