Just 1 line ;(
#7

pawn Код:
public OnPlayerUpdate(playerid)
{
  if(!IsPlayerConnected(playerid)) return 0;
  if(GetPlayerWeapon(playerid)==any_forbidden_gun)
  {
    SendClientMessage(playerid,color,"This weapon is forbidden!");
    // Look for a function called "RemovePlayerWeapon(playerid,weaponid) and remove this weaponid.
  }
  return 1;
}
Reply


Messages In This Thread
Just 1 line ;( - by Divine - 02.09.2009, 18:37
Re: Just 1 line ;( - by Correlli - 02.09.2009, 18:38
Re: Just 1 line ;( - by Divine - 02.09.2009, 18:41
Re: Just 1 line ;( - by Przemcio - 02.09.2009, 18:41
Re: Just 1 line ;( - by HuRRiCaNe - 02.09.2009, 18:42
Re: Just 1 line ;( - by Divine - 02.09.2009, 18:43
Re: Just 1 line ;( - by MenaceX^ - 02.09.2009, 18:45
Re: Just 1 line ;( - by Przemcio - 02.09.2009, 18:45
Re: Just 1 line ;( - by Correlli - 02.09.2009, 18:45
Re: Just 1 line ;( - by Divine - 02.09.2009, 18:49

Forum Jump:


Users browsing this thread: 2 Guest(s)