Squirrel/Client/Functions/Vehicles/Model

From Liberty Unleashed Wiki
Jump to: navigation, search
  1.  
  2. function onClientCommand(cmd,text
  3. {
  4. if ( cmd == "getvehiclemodel" )
  5. {
  6. Message("The model of vehicle ID 0 is: "+FindVehicle(0).Model);
  7. }
  8. }
  9.  

A player who writes /getvehiclemodel will message on chat the veh model of vehicle id 0

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox