Squirrel/Client/Functions/Vehicles/Model

From Liberty Unleashed Wiki
Revision as of 13:56, 3 September 2017 by Kupka (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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