26.05.2012, 14:33
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
I would really appritiate the help!
Thanks
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == //key here)
{
if((GetPlayerState(playerid) == 2) && GetVehicleModel(GetPlayerVehicleID(playerid)) == 425)
{
RemovePlayerFromVehicle(playerid);
}
}
return 1;
}