You don't need to worry about magical values like this used in the script, every index will have a self-explanatory constant to use with the function. The test script was written before surface constants were added to scripting which is why the script is using a seemingly random value.
Using a constant for different surfaces the function would look like this:
SetSurfaceTraction( SURFACE_ROAD_RUBBER, 4.5 );
This would set the grip between rubber (tyres) and road (tarmac) surfaces to 4.5 which is the default value (as you can see from surface.dat). For rubber and wet roads the index constant would be SURFACE_WET_RUBBER etc. All these values will obviously be listed in the scripting wiki.
In addition to scripting functions you can also load a custom surface.dat file on server start by placing the file to the server data folder. The values in the file will then be used for all clients joining the server, making it easy to create a drift server with optimal settings for example