Hunter
#1

Hello is ther a way i can disable the Minigun on a hunter but make the Rockets work?

I would really appritiate the help!


Thanks
Reply
#2

no you cant
Reply
#3

actually he can ,using onplayerkeystate change , if the player presses minigun shooting key he gets removed from the vehicle

something like this:

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
   if(newkeys == //key here)
   {
      if((GetPlayerState(playerid) == 2) && GetVehicleModel(GetPlayerVehicleID(playerid)) == 425)
      {
          RemovePlayerFromVehicle(playerid);
      }
  }
  return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)