Squirrel/Client/Functions/Vehicles/Model
From Liberty Unleashed Wiki
(Difference between revisions)
(Created page with "<code lang="squirrel"> function onClientCommand(cmd,text { if ( cmd == "getvehiclemodel" ) { Message("The model of vehicle ID 0 is: "+FindVehicle(0).Mod...") |
Latest revision as of 13:56, 3 September 2017
function onClientCommand(cmd,text { if ( cmd == "getvehiclemodel" ) { Message("The model of vehicle ID 0 is: "+FindVehicle(0).Model); } }
A player who writes /getvehiclemodel will message on chat the veh model of vehicle id 0