15.06.2014, 16:23
You close the parenthesis so it takes only the name from the VehNames array as argument.
By the way, check if the vehicle exists before subtracting 400 from it otherwise you'll get run time error 4.
pawn Код:
format(str,128,"\"%s\"\the owner is %s",VehNames[GetVehicleModel(vehicleid)-400],GetName(playerid));