[DRIVEBY BUG] DEAGLE ACTS LIKE SMG
#2

Then script it....


pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate==PLAYER_STATE_PASSENGER)
    {
        new gun,tmp;
        GetPlayerWeaponData(playerid,4,gun,tmp);
        #pragma unused tmp
        if(gun)SetPlayerArmedWeapon(playerid,gun);
        else SetPlayerArmedWeapon(playerid,0);
    }
    return 1;
}
This forces player to use an SMG, Tec9, or Uzi only if they have one, otherwise sets their weapon to fists.
Tested, works great.
Reply


Messages In This Thread
[DRIVEBY BUG] DEAGLE ACTS LIKE SMG - by Mike Garber - 14.12.2010, 16:37
Re: [DRIVEBY BUG] DEAGLE ACTS LIKE SMG - by Joe Staff - 14.12.2010, 17:10
Re: [DRIVEBY BUG] DEAGLE ACTS LIKE SMG - by olaf137 - 14.12.2010, 17:33
Re: [DRIVEBY BUG] DEAGLE ACTS LIKE SMG - by Mike Garber - 14.12.2010, 17:34
Re: [DRIVEBY BUG] DEAGLE ACTS LIKE SMG - by Mr187 - 14.12.2010, 17:44
Re: [DRIVEBY BUG] DEAGLE ACTS LIKE SMG - by Mean - 14.12.2010, 19:31
Re: [DRIVEBY BUG] DEAGLE ACTS LIKE SMG - by Gustavob - 14.12.2010, 19:41
[DRIVEBY BUG] DEAGLE ACTS LIKE SMG - by [NoV]LaZ - 16.12.2010, 13:11
Re: [DRIVEBY BUG] DEAGLE ACTS LIKE SMG - by TheArcher - 25.12.2010, 01:59
Respuesta: Re: [DRIVEBY BUG] DEAGLE ACTS LIKE SMG - by CuervO - 25.12.2010, 04:22

Forum Jump:


Users browsing this thread: 2 Guest(s)