driveby problem
#2

you can do a check with what weapon the player enters into the vehicle
like under
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(GetPlayerWeapon(playerid) == 29)
    {
    //The players Enters the vehicle with MP5
    }else{
    /*You got 2 options [1] to ResetThePlayer Weapons
    //[2] to givehim wep id (0) witch will se the player holding no weapon
    Option [1]*/

    ResetPlayerWeapons(playerid);
    //Option[2]
    GivePlayerWeapon(playerid, 0, 1);
    }
    return 1;
}
Just choose one option and remove the other one
Reply


Messages In This Thread
driveby problem - by rinori - 18.09.2011, 17:21
Re: driveby problem - by park4bmx - 18.09.2011, 17:30
Re: driveby problem - by Issam - 18.09.2011, 17:32
Re: driveby problem - by Fat - 18.09.2011, 17:38
Re: driveby problem - by rinori - 18.09.2011, 18:42
Re: driveby problem - by Fat - 18.09.2011, 18:50

Forum Jump:


Users browsing this thread: 1 Guest(s)