only MP5 drive by
#3

Something like this ?

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    switch(newstate)
     {
         case PLAYER_STATE_DRIVER:
          {
               SetPlayerArmedWeapon(playerid, 0);
          }
         case PLAYER_STATE_PASSENGER:
          {
              new weapon[2];
               GetPlayerWeaponData(playerid, 4, weapon[0], weapon[1]);
              if(weapon[0] != 29)
               {
                    SetPlayerArmedWeapon(playerid, 0);
               }
          }
     }
    return 1;
}
Reply


Messages In This Thread
only MP5 drive by - by elitesae - 04.04.2013, 04:08
Re: only MP5 drive by - by MP2 - 04.04.2013, 04:14
Re : only MP5 drive by - by will-56 - 04.04.2013, 10:11
Re: only MP5 drive by - by elitesae - 05.04.2013, 01:36
Re: only MP5 drive by - by MP2 - 05.04.2013, 01:41
Re: only MP5 drive by - by elitesae - 05.04.2013, 01:42
Re: only MP5 drive by - by MP2 - 05.04.2013, 01:44

Forum Jump:


Users browsing this thread: 1 Guest(s)