SA-MP Forums Archive
Help! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help! (/showthread.php?tid=260401)



Help! - GeonMake - 08.06.2011

and how do I as a command to be restrictive in some models of cars (bicycles)?


Re: Help! - Stigg - 08.06.2011

pawn Код:
stock IsBikeVehicle(vehicleid)
{
  switch(GetVehicleModel(vehicleid))
  {
    case
        581,509,481,462,521,463,//bikes
        510,522,461,448,471,468,586:
    return true;
  }
  return false;
}
Adjust to suit your needs.