Anti Idle DB?
#2

pawn Код:
if(newstate==PLAYER_STATE_PASSENGER)
{
  switch (GetPlayerWeapon(playerid))
    {
      case 24,27,31: //WEAPONS IDS
      {
        SendClientMessage(playerid, 0xFFFFFF, "You can't driveby with this weapon.");
        SetPlayerArmedWeapon(playerid, 0);
        }
    }
}
This goes OnPlayerStateChange.

Sorry for bad ident.
Reply


Messages In This Thread
Anti Idle DB? - by mrbeam - 19.01.2012, 18:47
Re: Anti Idle DB? - by Face9000 - 19.01.2012, 18:51
AW: Anti Idle DB? - by mrbeam - 19.01.2012, 19:08
AW: Anti Idle DB? - by mrbeam - 20.01.2012, 11:18
Re: Anti Idle DB? - by SchurmanCQC - 20.01.2012, 11:26
Re: Anti Idle DB? - by wildcookie007 - 20.01.2012, 13:03
AW: Anti Idle DB? - by mrbeam - 21.01.2012, 10:19

Forum Jump:


Users browsing this thread: 1 Guest(s)